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

implement FastWaterMark #96

Merged
merged 1 commit into from
Jul 16, 2019
Merged

implement FastWaterMark #96

merged 1 commit into from
Jul 16, 2019

Conversation

coocood
Copy link
Member

@coocood coocood commented Jul 15, 2019

It makes new transaction much cheaper.

Benchmark result:

BenchmarkFastWaterMark-8 10000000 158 ns/op 32 B/op 1 allocs/op
BenchmarkWaterMark-8 1000000 1177 ns/op 16 B/op 1 allocs/op

@coocood
Copy link
Member Author

coocood commented Jul 15, 2019

@ngaut @bobotu
PTAL

Copy link

@bobotu bobotu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@coocood coocood merged commit 37ea3d3 into master Jul 16, 2019
@coocood coocood deleted the fast-watermark branch July 16, 2019 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants