LinkageMapELF: optimize memory usage
authorZac Medico <zmedico@gentoo.org>
Fri, 22 Jul 2011 07:58:56 +0000 (00:58 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 22 Jul 2011 07:58:56 +0000 (00:58 -0700)
commit3f8a90683ddc542a0db58e00e55733ee8daaa4ee
treedb09f205a90dd5a04bf6ae4991cdb5aefa66603d
parent1fbff8957c6de3654f7901e2ed4a075b972d06dc
LinkageMapELF: optimize memory usage

This reduces memory consumption by approximately 30%, by replacing
mutable set instances with arrays, tuples, and frozensets where
appropriate. Also, identical frozenset instances are shared when
available.
pym/portage/util/_dyn_libs/LinkageMapELF.py