diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-06-25 22:36:19 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-06-25 22:36:19 +0000 |
commit | 04066d484cf68bda8de37c037aad003a44088e8a (patch) | |
tree | c1b7bc121c23ac651303c8d91e896f6622fa5bc7 /doc/Makefile | |
parent | 4ac209e6cf6c49d88b06a4ddaa3bacd11695791d (diff) | |
download | portage-04066d484cf68bda8de37c037aad003a44088e8a.tar.gz portage-04066d484cf68bda8de37c037aad003a44088e8a.tar.bz2 portage-04066d484cf68bda8de37c037aad003a44088e8a.zip |
Add a generic portage.cache.mappings.slot_dict_class() function which
generates mapping classes that behave similar to a dict but store
values as object attributes that are allocated via __slots__. Instances
of these objects have a smaller memory footprint than a normal dict object.
These classes are used to reduce the memory footprint of the dbapi.aux_get()
caches and the Package.metadata attribute.
svn path=/main/trunk/; revision=10790
Diffstat (limited to 'doc/Makefile')
0 files changed, 0 insertions, 0 deletions