In some of the projects I\'m working on as part of my day job, I need to access data in very large JS objects (on the order of thousands of key-value pairs). I\'m trying to
Javascript objects are actually Hashes, so the complexity is O(1) for all engines.
O(1)
obj.field is an alias for obj['field'], so they have the same performances.
obj.field
obj['field']
You can find some JS hashes performance tests here, unfortunately only for your browser engine.