fengb / fengb/kich

kich clean is slow

Aperta
#2 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Ruby
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

```bash
$ time kich clean
real 0m5.366s

# with -maxdepth 5
$ time kich clean
real 0m0.287s
```

The current behavior traverses all of target directory to find broken links.

Ideas to limit maxdepth:
* n - guess for fastest and least correct
* depth($KICH_SRC) - doesn't account for history

Also need a flag (probably `kich clean -f`) to force current behavior.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.