Caching Strategies/Database question
Alex Martelli
aleaxit at yahoo.com
Thu Apr 26 14:21:33 EDT 2001
More information about the Python-list mailing list
Thu Apr 26 14:21:33 EDT 2001
- Previous message (by thread): Caching Strategies/Database question
- Next message (by thread): Caching Strategies/Database question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"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
- Previous message (by thread): Caching Strategies/Database question
- Next message (by thread): Caching Strategies/Database question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list