Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
stkdump
on June 21, 2024
|
parent
|
context
|
favorite
| on:
Wc2: Investigates optimizing 'wc', the Unix word c...
I guess since state is fully encoded inside a single state variable and of course the output counts, it would be trivially simple to switch between multiple input streams and incrementally count words in each of them as new data arrives.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: