2 ms·
My guess would be that the array access method first parses the whole object as an array, breaking optimisations made possible with JIT compiling, whereas gette
by SchizoDuckie 13y ago
My guess would be that the array access method first parses the whole object as an array, breaking optimisations made possible with JIT compiling, whereas getters and setters are preoptimized because they're the actual standard way of accessing object properties.