summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-04-15 16:24:46 +0100
committerDamien George <damien.p.george@gmail.com>2016-04-15 16:24:46 +0100
commit00137b8c11eb94bbf97d5276d9c4e879ea75fb1d (patch)
tree38c039487bc9977fd9f4ddd1926d0051a945692c /tests/basics
parent5801967496cd8e2c20aaf60897c8b769128c9914 (diff)
downloadmicropython-00137b8c11eb94bbf97d5276d9c4e879ea75fb1d.tar.gz
micropython-00137b8c11eb94bbf97d5276d9c4e879ea75fb1d.zip
py/map: Change hash-table allocation policy to be less aggressive.
Small hash tables (eg those used in user class instances that only have a few members) now only use the minimum amount of memory necessary to hold the key/value pairs. This can reduce performance for instances that have many members (because then there are many reallocations/rehashings of the table), but helps to conserve memory. See issue #1760.
Diffstat (limited to 'tests/basics')
0 files changed, 0 insertions, 0 deletions