leo-project / leofs

The LeoFS Storage System
https://leo-project.net/leofs/
Apache License 2.0
1.55k stars 155 forks source link

[All] Optimize based on efficiency guide #386

Open mocchira opened 9 years ago

mocchira commented 9 years ago

There are some rooms to optimize code based on the below links.

For example,

yosukehara commented 9 years ago
* leo_dcerl/src/leo_dcerl.erl:128:  DiffSize = erlang:size(Val) - OldSize,
* leo_dcerl/src/leo_dcerl.erl:136:  [?JOURNAL_OP_CLEAN, StrKey, erlang:size(Val)]),