4 ms·
Like a property basically - except the key is not a string and is known to the engine. This is both simple and uses existing JIT facilities. Symbol property acc
by inglor 11y ago
Like a property basically - except the key is not a string and is known to the engine. This is both simple and uses existing JIT facilities. Symbol property access isn't particularly slower than regular access this way too.
See http://blog.peschla.net/doxygen/v8_chromium_r157275/classv8_1_1internal_1_1_symbol_key.html http://blog.peschla.net/doxygen/v8_chromium_r157275/classv8_... - it's