Atomic ets

Bjorn Gustavsson bjorn@REDACTED
Tue Dec 20 13:52:03 CET 2005


"Ulf Wiger \(AL/EAB\)" <ulf.wiger@REDACTED> writes:

> Bengt Kleberg wrote:
> > is this still true?
> 
> Don't know. Some very naiive measurements indicated that
> the break-even point on my SunBLADE is about 90 elements
> (comparing worst-case lists:keysearch() with ets:lookup(),
> which is probably not a fair comparison. 

Note that lists:keysearch/3 is a BIF implemented in C,
that is the speed of it is not typical for list-based
data structures.

/Bjorn
-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list