Am 26. März 2021 09:03:41 MEZ schrieb Ulrich Lauther 
<ulrich.laut...@t-online.de>:
>On Thu, Mar 25, 2021 at 10:30:57PM -0400, Larry Kollar wrote:
>> Sometimes, my Twitter feed coughs up some cool articles, like
>> this one: "Performance comparison: counting words in Python,
>> Go, C++, C, AWK, Forth, and Rust”
>> 
>> https://benhoyt.com/writings/count-words/
>> 
>> The Awk solution was by far the shortest by line count. Since
>> the runtime for all the different solutions was a few seconds or
>> less, Awk was probably the fastest because it took the least time
>> to code. :D
>> 
>What about "wc -w" ?
>
>        ulrich lauther
>

That's already a solution written in C. I assume.
Heinz

Reply via email to