macOS ◆ xterm-256color ◆ zsh 137 views

This demo showcases a simple word counting application on a corpus of Wikipedia text. A Python implementation using dictionaries is executed with Python 3 as well as Codon. An analogous C++ implementation using “unordered_map” is also executed. Codon outperforms the C++ version by 2.5x in this example.