Skip to content

Buffer improvements for speed#1

Open
nicolas-comerci wants to merge 1 commit intopsmay:masterfrom
nicolas-comerci:master
Open

Buffer improvements for speed#1
nicolas-comerci wants to merge 1 commit intopsmay:masterfrom
nicolas-comerci:master

Conversation

@nicolas-comerci
Copy link
Copy Markdown

Now instead of having a hardcoded buffer size, we can specify one from the command line (we still have a much larger default buffer size of 10MiB).

Also we don't write whatever we read immediately, we try to accumulate the whole buffer worth of data before writing, which makes the process much faster.

…m the command line (we still have a much larger default buffer size of 10MiB).

Also we don't write whatever we read immediately, we try to accumulate the whole buffer worth of data before writing, which makes the process much faster.
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.

1 participant