How many is "too many" with lists?
dan at cgsoftware.com
Tue May 2 12:18:42 EDT 2000
No, i meant, how are you accessing them?
You are probably doing linear searchs rather than binary ones.
On Tue, 2 May 2000, Matthew Hirsch wrote:
> I'm building a list of lists each holding a combination of nCk where n
> is the total number of numbers and k is the number you are choosing.
> For example, I have 27 numbers, 0-26. Looking at all combinations of 6
> taken from this sample produces 27!/(27-6)!6! =296010 different
> combinations stored in the original list.
More information about the Python-list