megahash
megahash copied to clipboard
A super-fast C++ hash table with Node.js wrapper, tested up to 1 billion keys.
Hey, I ended up focusing on some improvements for the less important data types and flags. Additionally i added some more tests and updated dependencies because why not. Anyways feel...
@jhuckaby Would you accept a PR which makes the megahash interface compatible with [ES6 Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map)? If so, what would be your preferred option? E.g. Using class inheritance like: ```js const...
Currently we don't have any definition file for this package. How about adding them? I've made my own implementation and it works good enough to be used in global: ```ts...
This small PR add length as a property instead a method, like the ES6 Map. Thank you for your useful module! All the best
https://github.com/jhuckaby/megahash/blob/cc0c1da3bfcd1fe97457a4ac78bdf746e3c39704/main.js#L28 When trying to store structures like AVL Trees and others that reference "themselves", the Stringify function throws this error. There's an option when calling the function to avoid this...