At first I thought my code was doing exactly the same, but yes, you're right.
That probably explains why yours is faster too. Your version comes closer to
what I am looking for so I am going to use that one too.
Arjan
-----Oorspronkelijk bericht-----
Van: <11418[at]lyskom.lysator.liu.se> [mailto:<11418[at]lyskom.lysator.liu.se>] Namens
Mirar @ Pike importmöte för mailinglistan
Verzonden: Wednesday, September 09, 2009 6:40 PM
Aan: <pike[at]roxen.com>
Onderwerp: RE: Arrays: multi-pop?
Well, I prefer my version because of memory usage (you only need to
keep a copy of 5000 elements instead of all the elements in groups of
5000), but otherwise it shouldn't be much of a difference...
|