The source code to HPPC is public and accessible, so you are more then
welcome to peek/ contribute/ take whatever you want, Benson.
Dawid
On Fri, Apr 2, 2010 at 10:45 PM, Benson Margulies bimargul...@gmail.com wrote:
Dawid,
Now I recall why I stopped working on features of Mahout collections
There's a Trove feature I didn't address in the 0.3 version of collections:
control of the hash function for Object types. In Trove, you construct over
a 'strategy' object if you want something like the JDK IdentityHashMap. COLT
didn't do that. A user can get this currently via subclassing, though
What's the use case for needing to vary the hash function? It's one of
those things where I assume there are incorrect ways to do it, and
correct ways, and among the correct ways fairly clear arguments about
which function will be better -- i.e. the object should provide the
best function.
I
On Fri, Apr 2, 2010 at 7:01 AM, Sean Owen sro...@gmail.com wrote:
What's the use case for needing to vary the hash function?
I was doing something funky with string prefixes the other day and
could have used something like this baked into collections already. I
vote for the strategy pattern.
On Fri, Apr 2, 2010 at 7:01 AM, Sean Owen sro...@gmail.com wrote:
What's the use case for needing to vary the hash function? It's one of
those things where I assume there are incorrect ways to do it, and
correct ways, and among the correct ways fairly clear arguments about
which function will
I'm going to code subclasses in my code to get something done before we get
to the next Mahout release, and that will give me some practical experience
with the whole business.
Meanwhile, consider the case of IdentityHashMap. If nothing else, the
strategy approach means adding One class to the
What's the use case for needing to vary the hash function? It's one of
those things where I assume there are incorrect ways to do it, and
correct ways, and among the correct ways fairly clear arguments about
which function will be better -- i.e. the object should provide the
best function.
Dawid,
Now I recall why I stopped working on features of Mahout collections :-)
HPPC.
We'll see who gets where first.
--benson
On Fri, Apr 2, 2010 at 10:06 AM, Dawid Weiss dawid.we...@gmail.com wrote:
What's the use case for needing to vary the hash function? It's one of
those things