-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 preallocated buffer #996
Merged
Merged
Changes from 32 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
fe89341
A draft of the new buffer class which avoids reallocations.
manishrjain f9f508c
Replace bytes.buffer with custom buffer
ashish-goswami 6f3144d
Implement reader
ashish-goswami a04f3bd
Implement WriteTo Interface for reader
ashish-goswami 96e6ac2
Fix bugs in Read and WriteTo method of Reader
ashish-goswami d4aa567
Add builder benchmark
ashish-goswami 2f56ace
Merge remote-tracking branch 'origin/master' into mrjn/zbuffer
ashish-goswami b2aed3d
Fix compilation failures
ashish-goswami 5285c7e
Remove benchmark builder temp
ashish-goswami 96528de
temp
ashish-goswami 0b17def
Merge remote-tracking branch 'origin/master' into mrjn/zbuffer
ashish-goswami ca10f22
temp
ashish-goswami 9d07d54
Minor changes
ashish-goswami 4cf3040
Minor changes
ashish-goswami 7fa634f
Remove the func within the benchmark
manishrjain ab2a884
Increase the size of page by 2 for every new page.
manishrjain cb7f6e5
Merge branch 'master' into mrjn/zbuffer
ashish-goswami 250e136
Fix ReadAt method
ashish-goswami 9e149d3
Modify ReadAt function and add comments to all functons
ashish-goswami 02b25c7
Fix compilation errors
ashish-goswami 574bb0a
Address review comments
ashish-goswami 37159fc
Address review comments
ashish-goswami 2e75e11
Add tests for PageBuffer
ashish-goswami 42817f8
Add Reader and Truncate to PageBuffer
ashish-goswami 8d996ba
Merge branch 'master' into mrjn/zbuffer
ashish-goswami 333e8c5
Fix comments
ashish-goswami 589e03d
Fix spellings y_test.go
ashish-goswami 7055c56
Remove PageBuffer from TableBuilder
ashish-goswami ccc2b55
Refactor PageBuffer
ashish-goswami 9760ab2
Minor Fixes
ashish-goswami 44e998b
Merge branch 'master' into mrjn/zbuffer
ashish-goswami b76f897
Refactor PageBufferReader Read()
ashish-goswami 5a7d172
Address review comments
ashish-goswami File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you plan to add more items to this struct or would it make sense to just do something like this instead:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might add some functions to page.