sharkdp/bat

Moving to the end of 6 Mb file takes forever

開放

#304 建立於 2018年9月11日

 (14 則留言) (14 個反應) (0 位負責人)Rust (1,557 個分叉)batch import
help wantedperformance

倉庫指標

星標
 (58,889 顆星)
PR 合併指標
 (平均合併 16天 6小時) (30 天內合併 11 個 PR)

描述

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.

貢獻者指南