News for hackers. Stuff that matters.
Re:Why the New V8 Is So Damn Fast by pygy_ on Tuesday July 31, 2018 @03:25AM (#17651207)
A factory function will also give the objects it returns the same hidden class, resulting in monomorphic code that can be optimized.

    function vec3 (x, y, z) { return {x, y, z} }

There are no comments on this comment yet.