3 ms·
> Because the latter requires pointer-from-property calculation for every single values access (which must be somehow optimised) Global value numbering (GVN) s
by pcwalton 10y ago
> Because the latter requires pointer-from-property calculation for every single values access (which must be somehow optimised)
Global value numbering (GVN) should be trivially able to do this.
- strainer 10y agoPerhaps when things are very simple, but we can end up with thousands of objects each with dozens of optional properties. With the fields declared as arrays only each array needs a GVN.