4 ms·
Interesting! I was actually thinking about writing something very similar as an erlang C node just a couple of days a go. I noted that the overhead for storing
by samwilliams 15y ago
Interesting!
I was actually thinking about writing something very similar as an erlang C node just a couple of days a go. I noted that the overhead for storing a mnesia table of 5 million rows of 3 integers was huge - it would take up 1.6gb in memory! If you know the size of the struct, it should pretty easy to make a fast lookup system (assuming the keys are sequential) too.
I wonder if I could wrap this instead...
- jlouis 15y agoUse an ETS table and mark it as compressed :)