Performance of dict and ets

Sean Hinde Sean.Hinde@REDACTED
Mon Dec 4 18:38:26 CET 2000


Hi,

Thanks for sharing the results..

> I did some tests a while back when Richard Carlsson presented his
> gb_trees package which gave some very good results compared 
> to dict and
> orddict.  As Björn described ets copies so  to do a fair comparison I
> make sure I also copy when testing other databases.  These are some
> results from my tests.

Was the version of dict in your tests the latest one using hash?

> However, one reason for using dict/pets is the nice meta functions
> fold/filter/merge/update which all work without copying.  The ets
> versions will copy.

I also very much like the filter mechanism, and also like the mechanism in
dict where one can append new entries to an existing entry without reading
it, appending the new value, and then writing the new value back in.

- Sean



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.





More information about the erlang-questions mailing list