summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/math_fun.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-01-21 19:14:25 +0000
committerDamien George <damien.p.george@gmail.com>2015-01-21 23:17:27 +0000
commit0b9ee86133a2a0524691c6cdac209dbfcb3bf116 (patch)
treee17f1f8c26b2d92991a8481ba5d2fc0649a8c6ce /tests/float/math_fun.py
parent2e526ff1a15cfe50aa46fe5611d3160b2a854f49 (diff)
downloadmicropython-0b9ee86133a2a0524691c6cdac209dbfcb3bf116.tar.gz
micropython-0b9ee86133a2a0524691c6cdac209dbfcb3bf116.zip
py: Add mp_obj_new_str_from_vstr, and use it where relevant.
This patch allows to reuse vstr memory when creating str/bytes object. This improves memory usage. Also saves code ROM: 128 bytes on stmhal, 92 bytes on bare-arm, and 88 bytes on unix x64.
Diffstat (limited to 'tests/float/math_fun.py')
0 files changed, 0 insertions, 0 deletions