You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Closessharkdp#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.
Closessharkdp#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
Step-by-step:
examples/simple.rs
without cached assets, i.e. when the assets integrated into the binary are used:bat --color always examples/simple.rs
bat --color always examples/simple.rs
Expected result
There is no significant difference.
Actual result
There is a significant difference.
I will soon create a PR with a proposed fix.
The text was updated successfully, but these errors were encountered: