"Brian Kelley" <kelley at bioreason.com> wrote in message news:3AE84904.C69D88C0 at bioreason.com... > I am using a dictionary to hold > > {string:[list of integers]} > > key: values > > The dictionary is randomly accessed to add an integer to the list > referenced by the string. Just on the off-chance... are the integers in some restricted range and their order in the list irrelevant? If so, you may be able to save a bundle by coding the list of integers as a bitset -- not really Python-related, but sometimes still very useful. Alex
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4