Re: Using classes and JS performances ?


Forums > Javascript > Using classes and JS performances ?
June 24, 2012 | 4:22 pm

Well, I’ve never avoided classes – in fact, I love ‘em. As long as you aren’t too kooky about the number of instances you create, you should be in good shape. Since internal to Javascript the classes are just variations on function pointers, you shouldn’t see a real hit to performance (this is just based on experience, not any specific knowledge of the turning gears in the system…).

[ddg]