sharkdp/bat

Moving to the end of 6 Mb file takes forever

Offen

#304 geöffnet am 11.09.2018

 (14 Kommentare) (14 Reaktionen) (0 zugewiesene Personen)Rust (1.557 Forks)batch import
help wantedperformance

Repository-Metriken

Stars
 (58.889 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 16T 6h) (11 gemergte PRs in 30 T)

Beschreibung

I am not really sure if this is an issue or intended behaviour. It took me forever to move to end of a 6Mb file.

Steps to reproduce:

  • $ seq 1 1000000 > test
  • $ bat test Press G to move to end of the file. This step took a long time. It seems bat was going through the file sequentially.

Apologies, if this is not the place to ask this question or this is a known bug/feature.

Contributor Guide