aboutsummaryrefslogtreecommitdiff
path: root/py/qstr.c
AgeCommit message (Expand)Author
2022-02-11py/qstr: Use `const` consistently to avoid a cast.Artyom Skrobov
2022-02-11py/qstr: Separate hash and len from string data.Artyom Skrobov
2022-01-06py/qstr: Reset mpstate.qstr_last_chunk before raising an error.Emilie Feral
2020-04-05all: Use MP_ERROR_TEXT for all error messages.Jim Mussared
2020-04-05py: Implement "common word" compression scheme for error messages.Jim Mussared
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2020-01-23py/qstr: Don't include or init qstr_mutex when GIL is enabled.David Lechner
2019-11-26py/qstr: Raise exception in qstr_from_strn if str to intern is too long.Léa Saviot
2019-02-19py/qstr: Evaluate find_qstr only once then pass to Q_GET_HASH macro.Damien George
2018-12-15py/qstr: Put a lower bound on new qstr pool allocation.Damien George
2017-11-29py/qstr: Rewrite find_qstr to make manifest that it returns a valid ptr.Damien George
2017-11-01py/compile: Use alloca instead of qstr_build when compiling import name.Damien George
2017-08-15py: Add verbose debug compile-time flag MICROPY_DEBUG_VERBOSE.Stefan Naumann
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2016-11-02py: Fix wrong assumption that m_renew will not move if shrinkingColin Hogben
2016-09-19py/qstr: Remove a comment.Damien George
2016-06-28py: Don't use gc or qstr mutex when the GIL is enabled.Damien George
2016-06-28py: Make interning of qstrs thread safe.Damien George
2016-06-16py: Rename __QSTR_EXTRACT flag to NO_QSTR.Paul Sokolovsky
2016-04-19py: Rework QSTR extraction to work in simple and obvious way.Paul Sokolovsky
2016-04-13py: Add ability to have frozen persistent bytecode from .mpy files.Damien George
2015-12-17py/qstr: Use size_t instead of mp_uint_t when counting allocated bytes.Damien George
2015-11-29py: Change qstr_* functions to use size_t as the type for str len arg.Damien George
2015-10-13py/qstr: Fix calc of qstr memory usage, due to new qstr chunk allocation.Damien George
2015-07-20py: Make qstr hash size configurable, defaults to 2 bytes.Damien George
2015-07-14py: Improve allocation policy of qstr data.Damien George
2015-04-16py: Convert occurrences of non-debug printf to mp_printf.Damien George
2015-02-10py: Add option to micropython.qstr_info() to dump actual qstrs.Damien George
2015-01-16py, unix: Allow to compile with -Wsign-compare.Damien George
2015-01-13py: Never intern data of large string/bytes object; add relevant tests.Damien George
2015-01-11py: Add MICROPY_QSTR_BYTES_IN_LEN config option, defaulting to 1.Damien George
2015-01-11py: Add qstr cfg capability; generate QSTR_NULL and QSTR_ from script.Damien George
2015-01-11py: Fix hard-coded hash for empty qstr (was 0x0000 now 0x1505).Damien George
2015-01-07py: Put all global state together in state structures.Damien George
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
2014-10-31py: Make gc.enable/disable just control auto-GC; alloc is still allowed.Damien George
2014-10-24py: Improve memory usage debugging; better GC AT dumping.Damien George
2014-10-03py: Change [u]int to mp_[u]int_t in qstr.[ch], and some other places.Damien George
2014-07-03Rename machine_(u)int_t to mp_(u)int_t.Damien George
2014-06-21py: Include mpconfig.h before all other includes.Paul Sokolovsky
2014-06-11py: Fix static defn in qstr; include mpconfigport.h with "" (not <>).Damien George
2014-05-25Change const byte* to const char* where sensible.Damien George
2014-05-03Add license header to (almost) all files.Damien George
2014-04-17build: Simplify build directory layout by putting all headers in genhdr.Damien George
2014-04-16build directory can now be renamedAndrew Scheller
2014-04-14qstr, objstr: Make sure that valid hash != 0, treat 0 as "not computed".Paul Sokolovsky
2014-03-25py: Replace naive and teribble hash function with djb2.Damien George
2014-02-26py: Remove name of var arg from macros with var args.Damien George
2014-02-16Make DEBUG_printf() a proper function, implementation is port-dependent.Paul Sokolovsky
2014-02-12Replace global "static" -> "STATIC", to allow "analysis builds". Part 2.Paul Sokolovsky