Normally I wouldn't expect it either, but if you know it caps out at single-digit numbers of elements, then it's not the worst idea.
I'd still just use a plain array, but my point was that hash maps aren't necessarily big and unwieldy.
I'd still just use a plain array, but my point was that hash maps aren't necessarily big and unwieldy.
No comments yet.