Getting concurrency

Claes Wikstrom klacke@REDACTED
Wed Jun 15 20:23:03 CEST 2005

Ulf Wiger (AL/EAB) wrote:

> Ignoring named tables, 

Which I thibk you should, minor detail.

the performance difference between built-in
> ets and erlang-based ets is quite small. Semantically, there are 
> no show stoppers.

Remember why we (I) did the ets tables in the first place. They were
ment to be the main building block to build mnesia.
It was (and still is) not easy to to have an erlang system which
maintains huge amounts of data on the heap(s)

ets tables were primarily a way to get non-gc'ed data space.

As for speed, I remember that I worked a lot with various ways
to let lookup() return a pointer instead of copying the whole thing.
I couldn't ever get it to work well though.


More information about the erlang-questions mailing list