This is a simple access performance test to determine which is the best way to access a locale value off an object.
To run it yourself, do node access-test.js
or paste that into your browser's terminal:
a: 0.198ms
b: 0.080ms
d: 0.127ms
c: 0.098ms
b
, simple objects holding keys seems to be the most performant approach overall