Re: Well I did it! (variable_id, etc..)
- Posted by Andy Serpa <ac at onehorseshy.com> Nov 26, 2004
- 663 views
Greg Haberek wrote: > > [sounds like Peter from Family Guy] "Holy friggin crap!!" > > That's amazing. Here's a speed update: > > sorting 10,000 random objects between 0 and 999 > > Old stats: > exw: 0.020 seconds > euw: 10.975 seconds (best run, some were 11+) > > New stats: > exw: 0.020 seconds > euw: 0.281 seconds > > I guess the interpreted interpreter isn't so slow after all! > Damn. Explanation? Sounds like a trick I ought to know. I have often put in such "optimizations" and taken them back out because it actually made things slower. And if you mess around with this much it goes back to being 10x slower. What's the secret?