tldr-pages / tldr-c-client

C command-line client for tldr pages
MIT License
296 stars 49 forks source link

Display first execution slowness reason #34

Open pgreze opened 6 years ago

pgreze commented 6 years ago

Reproduction Rate

Always?

Steps to Reproduce

When using tldr for the first time.

Result

First start is REALLY slow. After it works like a charm.

Expected Result

I guess initial data are downloaded/unzipped/whatever but I was thinking I was using the (slow?) Python client.

I realized after than homebrew was already installing this client by default and consecutive executions were really fast.

So why not display an initial message explaining that we're already using an optimized client and that only first start is slow?

Additional Information

➜  ~ $ tldr --version
tldr v1.3.0 (v1.3.0)
Copyright (C) 2016 Arvid Gerstmann
Source available at https://github.com/tldr-pages/tldr-cpp-client