sharkdp/bat

Moving to the end of 6 Mb file takes forever

Open

#304 创建于 2018年9月11日

在 GitHub 查看
 (14 评论) (14 反应) (0 负责人)Rust (1,557 fork)batch import
help wantedperformance

仓库指标

Star
 (58,889 star)
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.

贡献者指南