Am 20.01.2015 um 19:33 schrieb John Scipione:
Would it be amenable to change the BPrivate::HashSet (and BPrivate::HashMap) to call HashValue() instead of GetHashCode() assuming they are suppose to do the same thing so that we can use unmodified BString keys?
IIRC both implementations are very old code that got imported into Haiku because of net_fs. I'm unsure if I prefer hash value over hash code, but other than that, to get compatible with our API you would have to get rid of the "Get" anyway.
I guess the only reason not to change it, is that those two classes don't have much of a future within Haiku as they are. IIRC they replicate STL semantics which are rather ugly.
Bye, Axel.