aboutsummaryrefslogtreecommitdiff
path: root/py/map.c
AgeCommit message (Expand)Author
2021-10-15py: Add wrapper macros so hot VM functions can go in fast code location.Damien George
2021-09-16py/map: Add an optional cache of (map+index) to speed up map lookups.Jim Mussared
2020-10-10py/objdict: Add mp_const_empty_dict_obj, use it for mp_const_empty_map.Jim Mussared
2020-04-27py/objdict: Fix popitem for ordered dicts.Jim Mussared
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2019-02-12py: Downcase MP_xxx_SLOT_IS_FILLED inline functions.Damien George
2019-02-12py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API.Damien George
2018-08-02py: Fix compiling with debug enabled and make more use of DEBUG_printf.Damien George
2017-12-19py/map: Don't include ordered-dict mutating code when not needed.Damien George
2017-12-09py/map: Allow to trace rehashing operations.Paul Sokolovsky
2017-10-04all: Remove inclusion of internal py header files.Damien George
2017-08-31py/map: Remove unused new/free functions.Damien George
2017-08-31py/map: Replace always-false condition with assertion.Damien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-03-03py/map: Fix bugs with deletion of elements from OrderedDict.Damien George
2017-02-08py/map: Change mp_uint_t to size_t where appropriate.Damien George
2016-05-20py: Declare constant data as properly constant.Damien George
2016-04-15py/map: Change hash-table allocation policy to be less aggressive.Damien George
2016-04-01py/map: Prevent map resize failure from destroying map.Stephen Kyle
2015-12-31py/map: In map lookup, check for fixed map independent of ordered map.Damien George
2015-12-26py/map: Add fast-path for hashing of map index when it is a qstr.Damien George
2015-11-20py: Use MP_OBJ_NULL instead of NULL when appropriate.Damien George
2015-11-19py/map: Store key/value in earliest possible slot in hash table.Damien George
2015-05-12py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function.Damien George
2015-04-04py: Some trivial cosmetic changes, for code style consistency.Damien George
2015-03-20py: Clarify API for map/set lookup when removing&adding at once.Damien George
2015-03-20py: Implement core of OrderedDict type.Paul Sokolovsky
2015-01-16py, unix: Allow to compile with -Wsign-compare.Damien George
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
2014-12-27py: Allow to properly disable builtin "set" object.Damien George
2014-11-27map: Add empty fixed map.Paul Sokolovsky
2014-11-05py: Fix some macros defines; cleanup some includes.Damien George
2014-08-30py: Make map, dict, set use mp_int_t/mp_uint_t exclusively.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-05-03Add license header to (almost) all files.Damien George
2014-04-28py: Fix bug in map lookup of interned string vs non-interned.Damien George
2014-04-07py: Revert revert for allocation policy of set hash table.Damien George
2014-04-07py: Revert change to allocation policy for mp_set_t.Damien George
2014-04-06py: Fix dict.copy() and low-level map/set allocation.Paul Sokolovsky
2014-04-05py: Make mp_map_lookup not allocate memory on removal.Damien George
2014-04-05py: Change module globals from mp_map_t* to mp_obj_dict_t*.Damien George
2014-04-05py: Fix delete operation on map/dict and set objects.Damien George
2014-04-05map: When removing a key, don't NULL the entry, but mark as deleted.Paul Sokolovsky
2014-04-05map: Add mp_map_dump() (#ifdef'ed) to be handy when debugging maps.Paul Sokolovsky
2014-03-30Merge map.h into obj.h.Damien George
2014-03-17py: Clean up includes.xbe
2014-02-12Replace global "static" -> "STATIC", to allow "analysis builds". Part 2.Paul Sokolovsky
2014-02-08py: Allow mp_map_t to be initialised by a fixed-size, const table.Damien George
2014-01-25Add mp_map_deinit() & mp_map_free() to finalize maps.Paul Sokolovsky