Joshua Nelson
57c6ed0c07
Fix even more clippy warnings
2020-10-30 10:13:39 -04:00
Valerii Lashmanov
d1d2184db4
SsoHashSet/Map - genericiy over Q removed
...
Due to performance regression, see SsoHashMap comment.
2020-10-02 20:13:23 -05:00
Valerii Lashmanov
92a0668c20
SsoHashMap minor refactoring, SSO_ARRAY_SIZE introduced
2020-09-27 23:48:19 -05:00
Valerii Lashmanov
41942fac7d
SsoHashSet reimplemented as a wrapper on top of SsoHashMap
...
SsoHashSet::replace had to be removed because
it requires missing API from SsoHashMap.
It's not a widely used function, so I think it's ok
to omit it for now.
EitherIter moved into its own file.
Also sprinkled code with #[inline] attributes where appropriate.
2020-09-26 18:42:26 -05:00
Valerii Lashmanov
0600b178aa
SsoHashSet/SsoHashMap API greatly expanded
...
Now both provide almost complete API of their non-SSO counterparts.
2020-09-26 14:30:05 -05:00
Valerii Lashmanov
5c224a484d
MiniSet/MiniMap moved and renamed into SsoHashSet/SsoHashMap
...
It is a more descriptive name and with upcoming changes
there will be nothing "mini" about them.
2020-09-26 14:30:05 -05:00