summaryrefslogtreecommitdiff
path: root/py/opmethods.c
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2022-08-23 18:35:37 +1000
committerDamien George <damien@micropython.org>2022-08-26 16:44:35 +1000
commit3a910b15650636efc58bce48cc1bfa0debfd375c (patch)
treed93e2e0dcb591a1724424f6ed5e07a6bb251d67a /py/opmethods.c
parent88864587f5af292d7f86aceb6bf40e8331e9a8d6 (diff)
py/objstr: Optimise mp_obj_new_str_from_vstr for known-safe strings.
The new `mp_obj_new_str_from_utf8_vstr` can be used when you know you already have a unicode-safe string. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'py/opmethods.c')
0 files changed, 0 insertions, 0 deletions