-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[not-fixup] - Reduce memory consumption for Buffered File Writer #2377
Merged
Merged
Changes from 21 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
5e5a57a
correctly use the buffered file writer
ahrav 3b21ea3
use value from source
ahrav 9aaf0c8
reorder fields
ahrav f7f890a
Merge branch 'main' into fixup-use-git-parser
ahrav 1edc0a3
use only the DetectorKey as a map field
ahrav d530798
correctly use the buffered file writer
ahrav ea8bc7f
use value from source
ahrav 3bc4482
reorder fields
ahrav 510ce03
add tests and update
ahrav f6f1f44
Fix issue with buffer slices growing
ahrav 7659980
fix test
ahrav b0dbbbf
Merge branch 'bug-unhashable-key' into fixup-use-git-parser
ahrav 96ef60a
Merge branch 'fixup-use-git-parser' into optimize-buffered-file-writer
ahrav a07c39b
fix
ahrav e41cced
add singleton
ahrav 8e3d56c
use shared pool
ahrav 3e67392
optimize
ahrav d8e5589
rename and cleanup
ahrav 3894900
use correct calculation to grow buffer
ahrav 999d662
only grow if needed
ahrav 54c8a65
merge
ahrav 57a2305
merge main
ahrav faa423b
address comments
ahrav c8b4b02
remove unused
ahrav 8190669
remove
ahrav c1cf67c
rip out Grow
ahrav 2e74a4c
address coment
ahrav a2d23ef
use 2k default buffer
ahrav 10532d5
Merge branch 'main' into optimize-buffered-file-writer
ahrav f1bd25d
update comment allow large buffers to be garbage collected
ahrav 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.
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.
These detector changes seem irrelevant to this PR - is this other work leaking in?
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.
forgot to rebase