Remove unnecessary reverse

This commit is contained in:
martinsumner 2016-12-11 15:17:58 +00:00
parent 1b63845050
commit a86686d621

View file

@ -973,14 +973,14 @@ create_block(KeyList1, KeyList2,
{lists:reverse(BlockKeyList),
complete,
{LSN, HSN},
lists:reverse(SegmentList),
SegmentList,
Bloom,
[], []};
_ ->
{lists:reverse(BlockKeyList),
full,
{LSN, HSN},
lists:reverse(SegmentList),
SegmentList,
Bloom,
KeyList1, KeyList2}
end;
@ -988,7 +988,7 @@ create_block([], [], BlockKeyList, {LSN, HSN}, SegmentList, _LevelR, Bloom) ->
{lists:reverse(BlockKeyList),
partial,
{LSN, HSN},
lists:reverse(SegmentList),
SegmentList,
Bloom,
[], []};
create_block(KeyList1, KeyList2,