Experiemnt with no compression

Does compression hurt CPU more than the benefit gaine din some cases?
This commit is contained in:
martinsumner 2016-12-11 12:33:09 +00:00
parent 71cf7a3a51
commit 44cee5a6e8
2 changed files with 2 additions and 2 deletions

View file

@ -246,7 +246,7 @@ check_forinkertype(_LedgerKey, _Object) ->
create_value_for_journal(Value) ->
case Value of
{Object, KeyChanges} ->
term_to_binary({Object, KeyChanges}, [compressed]);
term_to_binary({Object, KeyChanges});
Value when is_binary(Value) ->
Value
end.

View file

@ -1082,7 +1082,7 @@ create_slot(KL1, KL2, LevelR, BlockCount, Bloom,
TrackingMetadata).
serialise_block(BlockKeyList) ->
term_to_binary(BlockKeyList, [{compressed, ?COMPRESSION_LEVEL}]).
term_to_binary(BlockKeyList).
%% Compare the keys at the head of the list, and either skip that "best" key or