sharkdp/bat

Moving to the end of 6 Mb file takes forever

Open

#304 aperta il 11 set 2018

Vedi su GitHub
 (14 commenti) (13 reazioni) (0 assegnatari)Rust (1557 fork)batch import
help wantedperformance

Metriche repository

Star
 (58.889 star)
Metriche merge PR
 (Merge medio 7h 31m) (10 PR mergiate in 30 g)

Descrizione

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.

Guida contributor