sharkdp/bat

Moving to the end of 6 Mb file takes forever

Aberta

#304 aberto em 11 de set. de 2018

 (14 comentários) (14 reações) (0 responsável)Rust (1.557 forks)batch import
help wantedperformance

Métricas do repositório

Stars
 (58.889 estrelas)
Métricas de merge de PR
 (Mesclagem média 16d 6h) (11 fundiu PRs em 30d)

Description

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.

Guia do colaborador