wc2 (textproc/wc2) Updated: 7 months, 3 weeks ago Add to my watchlist

Investigates optimizing 'wc', the Unix word count program

There have been multiple articles lately implementing the classic wc program in various programming languages, to "prove" their favorite language can be "just as fast" as C. This project does something different. Instead of a different language it uses a different algorithm. The new algorithm is significantly faster -- implementing in a slow language like JavaScript is still faster than the original wc program written in C. The algorithm is known as an "asynchronous state-machine parser". It's a technique for parsing that you don't learn in college. It's more efficient, but more importantly, it's more scalable. That's why your browser uses a state-machine to parse GIFs, and most web servers use state-machiens to parse incoming HTTP requests.

Version: 20221102 License: unknown GitHub
Displaying statistics for 1,135 users who made submissions during: until

Statistics for selected duration

2025-Jan-14 to 2025-Feb-13


No stats available for this selection.

Try changing the range of days. Alternatively visit statistics page to have an overall look at the submitted statistics.