Forgive me, but it's not clear what this actually does.
Is it a map that commits to disk? Does it operate on the filesystem level, or talk to the raw partition directly (as sort of suggested by the example)? What's it for?
It uses the standard Node.js filesystem functions. Set a key a value writes the value to a file defined by the key and the name of the map that you set when you create it.
No offense, but if some code/library/project has no proper README and documentation, I immediately dismiss it as a potential candidate for use in any of my projects.
It is unclear to me what this even is and why I possibly should want to use it.
I'm assuming it isn't intended for production use, at least right now, maybe ever. Could just be early, could be a toy project, could even be satirical.
13 comments
[ 2.9 ms ] story [ 39.5 ms ] threadIs it a map that commits to disk? Does it operate on the filesystem level, or talk to the raw partition directly (as sort of suggested by the example)? What's it for?
It looks that way.
> Does it operate on the filesystem level, or talk to the raw partition directly
Seems to use NodeJS' `fs` module[0]
> What's it for?
According to [1]: "How to make a Hash into a Disk system with fast lookup"
[0] https://github.com/c9fe/StrongMap/blob/main/src/strongmap.js...
[1] https://github.com/c9fe/StrongMap/blob/main/devlog/TECH.md
I have no idea what it's for.
It is unclear to me what this even is and why I possibly should want to use it.
> - very slow
> - inefficient
> - incomplete
> - buggy and leaky
I'm assuming it isn't intended for production use, at least right now, maybe ever. Could just be early, could be a toy project, could even be satirical.