Is it faster to work with array or with dict? – Javascript
I have ~1Kb dict looking like: db = {"word": 0, "something": 1, "another": 2, ..., "last": 36000} and I use the following operations: find an index of some word (like db["something"]); find word by its index (like Object.keys($db)[1234]) It works…