summaryrefslogtreecommitdiff
path: root/py/map.c
AgeCommit message (Expand)Author
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
2014-01-21Revamp qstrs: they now include length and hash.Damien George
2014-01-12Implemented set.removeJohn R. Lenton
2014-01-12Implemented set.discardJohn R. Lenton
2014-01-12Implemented set.clearJohn R. Lenton
2014-01-08py: Stuff qstr in object pointer; keys for mp_map_t are now always mp_obj_t.Damien George
2014-01-07Added dict.setdefaultJohn R. Lenton
2014-01-07implemented dict.popJohn R. Lenton
2014-01-07Added dict.clear.John R. Lenton
2013-12-29Change memory allocation API to require size for free and realloc.Damien
2013-12-21Change object representation from 1 big union to individual structs.Damien
2013-12-17py: split runtime into map, obj, builtin.Damien