labblouin.memEfficient module

class labblouin.memEfficient.memEfficientDictionary(*args, **kwds)[source]

Bases: _abcoll.MutableMapping

A memory-efficient alternative to the built-in Python dictionary with a trade-off for (insertion) performance. Based on recipe found by Raymond Hettinger (http://code.activestate.com/recipes/578375-proof-of-concept-for-a-more-space-efficient -faster/).

clear()[source]

Clear the data structure.

get(key, default=None)[source]
items()[source]
iteritems()[source]
iterkeys()[source]
itervalues()[source]
keys()[source]
popitem()[source]
values()[source]

Previous topic

labblouin.mdsa module

Next topic

labblouin.passToqsub module

This Page