Function calls push an activation object on the scope chain. We can make this cheaper by cutting down on heap allocation.
Created attachment 18211 [details] patch
Comment on attachment 18211 [details] patch r=me
Committed revision 29065.
This broke the world. Rolling it back out.
There's too much overlap between this and the coming Activation optimization. I'm going to drop it.
Created attachment 18244 [details] newer patch, but doesn't seem to be a speedup
Comment on attachment 18244 [details] newer patch, but doesn't seem to be a speedup Hmm, no, that was just aother copy of the wrong patch.