Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix(buffer): Expose padding by z.Buffer's APIs and fix test #222

Merged
merged 2 commits into from
Nov 12, 2020

Conversation

ahsanbarkati
Copy link
Contributor

@ahsanbarkati ahsanbarkati commented Nov 10, 2020

We need to include the padding in the offsets returned by the APIs because we use zero offset as a check for nil nodes.
It also removes the API IncrementOffset() because it was being used only in skiplist and we don't need it anymore.


This change is Reviewable

@ahsanbarkati ahsanbarkati merged commit 3e25d09 into master Nov 12, 2020
@ahsanbarkati ahsanbarkati deleted the ahsan/padding branch November 12, 2020 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants