Map lots of words to lots of integers

Warren Postma embed at geocities.com
Thu May 4 10:40:56 EDT 2000


> In my application I need to make an intersection of several lists
> returned from lookups in the database, so if they`re all huge I might
> run out of memory.
>
> I`m indexing files on cd-roms and the number of ids can be up into the
> millions.
>

That's what a bigger PC is for. More memory, fast hard disk, virtual memory,
and basically prototype along until you hit a bottleneck then optimize
around it. That's python for you. Don't worry. Code first, and 'plan to
throw one away, you will anyways'.


Warren





More information about the Python-list mailing list