Experiemnt with no compression
Does compression hurt CPU more than the benefit gaine din some cases?
This commit is contained in:
parent
71cf7a3a51
commit
44cee5a6e8
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue