aboutsummaryrefslogtreecommitdiff
path: root/py/objstr.h
AgeCommit message (Collapse)Author
2014-05-25py: Slightly improve efficiency of mp_obj_new_str; rename str_new.Damien George
Reorder interning logic in mp_obj_new_str, to be more efficient. str_new is globally accessible, so should be prefixed with mp_obj_.
2014-05-15objstringio: Implement io.BytesIO.Paul Sokolovsky
Done in generalized manner, allowing any stream class to be specified as working with bytes.
2014-05-03Add license header to (almost) all files.Damien George
Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
2014-04-15py: Add builtin functions bin and oct, and some tests for them.Damien George
2014-04-14objstr: Allow to define statically allocated str objects.Paul Sokolovsky
Similar to tuples, lists, dicts. Statically allocated strings don't have hash computed.