top | item 29858923

(no title)

heywhy | 4 years ago

Yes, it is a port of that library with some improvements.

discuss

order

dnautics|4 years ago

You might want to consider mapping an index to an ets table-based data structure instead of an immutable object managed by a GenServer, it will give you a way to share it between processes without having to awkwardly copy a potentially huge data structure all over the place.

heywhy|4 years ago

I do have thoughts about performance too but I was following the "get it working then make improvements" route :). Thank you for the suggestions.

skrebbel|4 years ago

I don't understand how this works. Is data read from ETS somehow shared more efficiently than data shared via a regular message? (which iirc is always copied)

linkdd|4 years ago

I'd say even using mnesia as an option for disc copies.