Russ Cox personal blog
Glob Matching Can Be Simple and Fast Too
Here’s a straightforward benchmark. Time how long it takes to run ls ( a* ) n b in a directory with a single file named a 100 , compared to running ls | grep ( a.* ) n b . Superscripts denote string repetition and parentheses are for grouping only, so that when n is 3, we’re running ls a*a*a*b in a directory…
- Points
- 333
- HN comments
- 95
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringTools & Productivity2017
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Apr 24, 2017 | Glob Matching Can Be Simple and Fast Too by secure | 333 | 95 |