Hacker News new | past | comments | ask | show | jobs | submit login
Off-heap hashmap for Java 8 (github.com/cfelde)
3 points by theocs on April 19, 2014 | hide | past | favorite | 2 comments



Interesting project but I wonder what it offers that doesn't already exist in HugeCollections [1] or MapDB [2].

[1] https://github.com/OpenHFT/HugeCollections [2] mapdb.org


Maybe I'm mistaken about the code, but it doesn't look like HugeCollections is storing the key off heap?

Example: Looking at the containsKey method on line 420 here: https://github.com/OpenHFT/HugeCollections/blob/master/colle...

A return map.containsKey(key2) is used, with that map being declared as

final Map<K, DirectStore> map = new HashMap<K, DirectStore>();

on line 232. That makes me believe maybe only map values are kept off-heap?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: