4 ms·
using an object as a textually-indexed array, which isn't that great Using it as a hash table is just fine.
by cema 16y ago
using an object as a textually-indexed array,
which isn't that great
Using it as a hash table is just fine.
- user24 16y agoYes, my problem was with people then wanting to iterate over said hashmap, not with using it as a hashmap in the first place. I could have worded that better, thanks. I mean if you're going to want to iterate over it, you should probably be using an array instead.