> > > I'll recind that statement. It still is easily optimizable to a low > level. An array of numbers can > be compiled eventually to push/pop (pushf/popf for floats). >
Even though technically possible, I'm willing to bet it's going to take you a *really* *really* long time to get to exactly one instruction. And in that case you'll probably only be able to apply it to 1% of the cases (popping from sparse arrays; arrays with holes, potentially with getters installed on the prototype chain; non-JSArrays; ...). So no, V8 never generates code that good. And we are already pretty clever at specializing. -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
