Skip to content

Conversation

sthagen
Copy link
Owner

@sthagen sthagen commented Jul 27, 2021

Using BufReader makes sense for large files, but assets are never large enough
to require buffering. It is significantly faster to load the file contents in
one go, so let's do that instead.

Closes sharkdp#1753

Using BufReader makes sense for large files, but assets are never large enough
to require buffering. It is significantly faster to load the file contents in
one go, so let's do that instead.

Closes #1753
@sthagen sthagen merged commit 547ea4c into sthagen:master Jul 27, 2021
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.

Loading assets from the cache is significantly slower than from the binary
2 participants