Re:Performance comparison: counting words in Python, Go, C++...
by w-m on Monday March 15, 2021 @12:50PM
(#26468361)
Similar here, reading the file from stdin on a 2020 MBP on macOS 11.2.2 is incredibly slow.
takes around 8 seconds to run, no counting at all.
runs in ~270 miliseconds. Factor 30x, yikes.
[ Parent
| on HN ]
There are no comments on this comment yet.