2009/7/1 [email protected] <[email protected]>: > > I guess V8 is very fast compared to other javascript engines. > I'm curious what's the biggest reason for that. > I mean, I know hidden class technique, machine code generation, > efficient gc attribute to that, > but is there number for how each of these contributes? > > For instance, I'd like to know, if we turn 'hidden class technique' > off, how much the engine slows down.
I'm afraid that would be rather like switching the wheels off on a car. It would slow down a lot. Building a different mechanism to the hidden classes (called maps in the code) would be a lot of work, so it's hard to quantify what the technique contributes. -- Erik Corry, Software Engineer Google Denmark ApS. CVR nr. 28 86 69 84 c/o Philip & Partners, 7 Vognmagergade, P.O. Box 2227, DK-1018 Copenhagen K, Denmark. --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
