Movatterモバイル変換


[0]ホーム

URL:


Caching Strategies/Database question

Alex Martellialeaxit at yahoo.com
Thu Apr 26 14:21:33 EDT 2001


"Brian Kelley" <kelley at bioreason.com> wrote in messagenews: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 rangeand their order in the list irrelevant?  If so, you may be able tosave a bundle by coding the list of integers as a bitset -- notreally Python-related, but sometimes still very useful.Alex


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp