Add ziplistDeleteRangeFromOffset #1182

Closed
wants to merge 1 commit into from

1 participant

@ripcurld00d

Added ziplistDeleteRangeFromOffset allowing to remove more than one entry from ziplist starting from a given entry in the ziplist.
Changed ziplistDelete to return result from ziplistDeleteRangeFromOffset call.
In addition, replaced every ziplistDelete double-call to a single ziplistDeleteRangeFromOffset call.

These changes were made due to a "TODO" request in the code.

Tests - I have run make test to approve that my changes haven't caused new problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment