[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Counting words, fast!
From: |
Jesse Hathaway |
Subject: |
Counting words, fast! |
Date: |
Tue, 16 Mar 2021 16:31:59 -0500 |
Ben Hoyt wrote a fun blog post on counting words,
https://benhoyt.com/writings/count-words, I wrote a Bash version with
as many optimizations as I could find[1], I would love any suggestions
on any substantial optimizations, the code is attached. The full
repo and test file is here: https://github.com/benhoyt/countwords
Yours kindly, Jesse
[1]: https://github.com/benhoyt/countwords/pull/66
optimized.bash
Description: Binary data
- Counting words, fast!,
Jesse Hathaway <=
- Re: Counting words, fast!, Leonid Isaev (ifax), 2021/03/16
- Re: Counting words, fast!, Greg Wooledge, 2021/03/16
- Re: Counting words, fast!, Jesse Hathaway, 2021/03/16
- Re: Counting words, fast!, Dennis Williamson, 2021/03/16
- Re: Counting words, fast!, Jesse Hathaway, 2021/03/17
- Re: Counting words, fast!, Dennis Williamson, 2021/03/17
- Re: Counting words, fast!, Jesse Hathaway, 2021/03/17
- Re: Counting words, fast!, Greg Wooledge, 2021/03/17
- Re: Counting words, fast!, Jesse Hathaway, 2021/03/17