fengb / fengb/kich

kich clean is slow

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Ruby
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.