Skip to content

Playing with counting word frequencies (and performance) in various languages.

License

Notifications You must be signed in to change notification settings

tauplus/countwords

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playing with counting word frequencies (and the performance thereof) in various languages. See the full article for context and background: https://benhoyt.com/writings/count-words/

To run the tests and benchmarks (you'll need Go, Rust, Python 3, AWK and perhaps other tools installed). Only tested on Linux:

./test.sh
./benchmark.py

For the latest results (run on my machine), see the article's performance results section.

Thanks to these contributors for additional language versions:

See other versions on Rosetta Code.

About

Playing with counting word frequencies (and performance) in various languages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 31.3%
  • Shell 12.9%
  • Go 10.3%
  • C 10.0%
  • Forth 7.9%
  • Python 6.4%
  • Other 21.2%