Faster ets:lookups

tom kelly ttom.kelly@REDACTED
Fri Aug 13 12:20:09 CEST 2010


Hi List,
I've just been reading Scott Lystig Fritchies paper "A Study of Erlang ETS
Table Implementations and Performance" and was wondering whatever became of
the "judy" option for ets table types. It's not in any OTP release I've
worked with (R11 onwards) even though the research was done on R9, I assume
this was considered but not accepted by OTP, anyone know the reasons?
I found this when looking for ways to improve our cache system, we uses
ets:lookup very intensively (table contains ~7000 entries indexed by a tuple
of two integers representing an adler, table is type "bag") and our
profiling has shown that the lookup uses the largest proportion of our
processing time.
Does anyone have any suggestions on how to optimise the lookup?
Thanks in advance!
//Tom.


More information about the erlang-questions mailing list