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