diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-05-09 21:53:02 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-05-09 21:55:09 +0300 |
commit | 6de8dbb4880e58c68a08205cb2b9c15940143439 (patch) | |
tree | 0378c38d468d94f656479c87da2168c2555cf17f /py/lexerunix.c | |
parent | 460b0863334fb143667ae6aa1b5f0bd2bbdf8282 (diff) | |
download | micropython-6de8dbb4880e58c68a08205cb2b9c15940143439.tar.gz micropython-6de8dbb4880e58c68a08205cb2b9c15940143439.zip |
py/objstr: .format(): Avoid call to vstr_null_terminated_str().
By comparing with string end pointer instead of checking for NUL byte.
Should alleviate reallocations and fragmentation a tiny bit.
Diffstat (limited to 'py/lexerunix.c')
0 files changed, 0 insertions, 0 deletions