UnorderedKeySet icon indicating copy to clipboard operation
UnorderedKeySet copied to clipboard

Add Integer Keys?

Open crazyrabbitLTC opened this issue 6 years ago • 1 comments

=First off, great library!

I wanted to ask, do you think it's possible to add integers as keys an option? I like the addresses and bytes32 but I have a use case where Integers seem like a better key option.

crazyrabbitLTC avatar Jul 18 '19 16:07 crazyrabbitLTC

Say for example you want to use uint256 as keys, you could simply replace all occurances of bytes32 with uint in the library.

Conviley avatar Feb 28 '20 09:02 Conviley