[erlang-bugs] efficiency guide

Ulf Wiger ulf@REDACTED
Mon Feb 26 08:32:42 CET 2007


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



More information about the erlang-bugs mailing list