Hmm... I tried it and it said i didn't have karma. I'll try again tonite. - brad --- Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: > You have full karma to fix this. What makes you think you don't? > > On Tue, 30 Jul 2002, Brad LaFountain wrote: > > > Along with fixing this bugs (16063 and 16068) I signifintly increased the > > preformance of array_pop and array_shift. > > > > Here are some times on a 1.2ghz athlon. > > <? > > $t = array_fill(0, $size, "test"); > > for($i = 0;$i < $size;$i++) > > array_pop($t); > > ?> > > > > Before: > > $size = 2000; //1.633s > > $size = 4000; //8.942s > > $size = 6000; //24.005s > > $size = 10000; //1m13.986s > > > > After: > > $size = 2000; //0.050s > > $size = 4000; //0.060s > > $size = 6000; //0.081s > > $size = 10000; //0.090s > > > > I still would like to see the functions array_unshift, array_splice and > > array_pad looked into to increase preformance too. > > > > I thought i had karma but it seems i don't. So can someone ither give me > the > > karma or patch it themselves. > > > > -brad > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Health - Feel better, live better > > http://health.yahoo.com > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php >
__________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php