circuitpython/extmod
Damien George 05005f679e py: Remove mp_obj_str_builder and use vstr instead.
With this patch str/bytes construction is streamlined.  Always use a
vstr to build a str/bytes object.  If the size is known beforehand then
use vstr_init_len to allocate only required memory.  Otherwise use
vstr_init and the vstr will grow as needed.  Then use
mp_obj_new_str_from_vstr to create a str/bytes object using the vstr
memory.

Saves code ROM: 68 bytes on stmhal, 108 bytes on bare-arm, and 336 bytes
on unix x64.
2015-01-21 23:18:02 +00:00
..
crypto-algorithms moduhashlib: Add sha256 implementation from "crypto-algorithms" project. 2014-11-22 14:47:52 +02:00
re1.5 modure: Update to re1.5 v0.6.1, fixed and extended character class support. 2014-10-17 22:25:18 +03:00
uzlib moduzlib: Import uzlib v1.1. 2014-10-13 00:09:43 +03:00
modubinascii.c py: Remove mp_obj_str_builder and use vstr instead. 2015-01-21 23:18:02 +00:00
moductypes.c py, unix: Allow to compile with -Wunused-parameter. 2015-01-20 12:47:20 +00:00
moduhashlib.c py: Remove mp_obj_str_builder and use vstr instead. 2015-01-21 23:18:02 +00:00
moduheapq.c extmod: Prefix py/ for includes from py core directory. 2015-01-01 20:35:21 +00:00
modujson.c extmod: Prefix py/ for includes from py core directory. 2015-01-01 20:35:21 +00:00
modure.c py, unix: Allow to compile with -Wunused-parameter. 2015-01-20 12:47:20 +00:00
moduzlib.c py, unix: Allow to compile with -Wunused-parameter. 2015-01-20 12:47:20 +00:00