Closed gballet closed 4 years ago
Based on @s1na's remarks, I have decided to go another route, outlined in #55. Closing this PR.
So after considering the iterator route for some time, and in spite of being convinced that this is the best way in the long run, I also realized it was going to be fairly heavy work, and it's not currently necessary if it's just about not making a couple fields public. I will go ahead with this one in order to resume work on binary trees, and will fix that for the 2.x release.
This is preparation work for the support of binary trees.
Key
trait that will have to be implemented by all objects that can be used as keys;BinaryKey
that implementsKey
and represents a bit-wise string;ByteKey
andNibbleKey
as an implementation ofKey
; andByteKey
,NibbleKey
andBinaryKey
to their own modules.