3 ms·
This is exactly what ETS in Erlang provides :)
by jlouis 13y ago
This is exactly what ETS in Erlang provides :)
- fauigerzigerk 13y agoAs I understand it, ETS is itself an in-memory database that comes with its own data model, but it doesn't let me build one out of my own data structures and algorithms, which is what I had in mind. Also, I think, all data has to be copied in and out of ETS. It cannot be referenced in-place, which is going to slow things down quite a bit. (Correct me if I'm wrong. I have no first hand experience with ETS)
- stcredzero 13y agoCache misses between disparate CPU cores will also slow you down. Sharing memory is not without its efficiency drawbacks as well.