micropython/extmod
Damien George 4601759bf5 py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str.
This patch simplifies the str creation API to favour the common case of
creating a str object that is not forced to be interned.  To force
interning of a new str the new mp_obj_new_str_via_qstr function is added,
and should only be used if warranted.

Apart from simplifying the mp_obj_new_str function (and making it have the
same signature as mp_obj_new_bytes), this patch also reduces code size by a
bit (-16 bytes for bare-arm and roughly -40 bytes on the bare-metal archs).
2017-11-16 13:17:51 +11:00
..
crypto-algorithms
lwip-include
re1.5
uzlib
machine_i2c.c
machine_i2c.h
machine_mem.c
machine_mem.h
machine_pinbase.c
machine_pinbase.h
machine_pulse.c
machine_pulse.h
machine_signal.c
machine_signal.h
machine_spi.c
machine_spi.h
misc.h
modbtree.c
modframebuf.c
modlwip.c
modonewire.c
modubinascii.c
modubinascii.h
moductypes.c
moduhashlib.c
moduheapq.c
modujson.c py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 2017-11-16 13:17:51 +11:00
modurandom.c
modure.c
moduselect.c
modussl_axtls.c
modussl_mbedtls.c
modutimeq.c
moduzlib.c
modwebrepl.c py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 2017-11-16 13:17:51 +11:00
modwebsocket.c
modwebsocket.h
uos_dupterm.c
utime_mphal.c
utime_mphal.h
vfs.c
vfs.h
vfs_fat.c py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 2017-11-16 13:17:51 +11:00
vfs_fat.h
vfs_fat_diskio.c
vfs_fat_file.c
vfs_fat_misc.c py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 2017-11-16 13:17:51 +11:00
vfs_reader.c py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 2017-11-16 13:17:51 +11:00
virtpin.c
virtpin.h