@pavelgj I'm thinking it might be a good idea. I assume constructing a key is a quite frequent operation. I think it's worth saving time there. I'm trying to think of a use-case that would justify using a collection but nothing comes to my mind.

@mhevery Do you have an opinion on this?

How about I just branch of this branch, implement the changes and run the benchmarks. That way we have hard numbers to prove and argue around.