-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce memory usage during walk (#114)
* Reuse request channels instead of just throwing them away * Prevent unbounded memory allocations if path writing stalls * Reuse flowcontrol channels * Error callback should only be used for non-fatal errors * Buffer dirent channel * Buffer output files and avoid allocation during path quoting. * Create new filePath type that uses a sync.Pool to avoid string allocations
- Loading branch information
Showing
4 changed files
with
185 additions
and
77 deletions.
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
Oops, something went wrong.