Erlang/OTP Forums

Author Message

<  Erlang bugs mailing list  ~  efficiency guide

uffe
Posted: Mon Feb 26, 2007 7:34 am Reply with quote
User Joined: 02 Mar 2005 Posts: 365 Location: Sweden
In the Efficiency Guide,

http://www.erlang.org/doc/doc-5.5.3/doc/efficiency_guide/tablesDatabases.html#4.1.4

it says:

"Even the cheapest Mnesia operations, dirty_write operations,"

Dirty_write operations are not the cheapest Mnesia operations.


For example,

mnesia:activity(ets, fun() -> mnesia:write(Obj) end)

is significantly cheaper than

mnesia:dirty_write(Obj)

(and also semantically different, of course...)


BR,
Ulf W
--
Ulf Wiger
_______________________________________________
erlang-bugs mailing list
erlang-bugs@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-bugs
Post recived from mailinglist
View user's profile Send private message Visit poster's website

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum