generators : random shootout
Mark McEahern
marklists at mceahern.com
Sat Jan 12 14:52:17 EST 2002
More information about the Python-list mailing list
Sat Jan 12 14:52:17 EST 2002
- Previous message (by thread): generators : random shootout
- Next message (by thread): generators : random shootout
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
GerritM wrote: > I did not yet look at iterators at all, therefor I like this thread a lot! > Apparantly the strange construction with the zip is used in order to get N > iterations of gr. Does some more elegant solution exist to get N > iterations, for instance: > gr[1:N] > gr.getiterations(100) Not sure, but in my testing the zip doodad actually takes longer, contrary to the original claim that it sped it up. Cheers, // mark
- Previous message (by thread): generators : random shootout
- Next message (by thread): generators : random shootout
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list