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
Reset

19 build(s) found
Builder Build Number Start Time Elapsed Time Watcher Build Status
15 16658 2024-10-19 3:22:20 0:00:28 2190 build successful
13.arm64 65021 2024-06-22 6:18:53 0:00:08 22566 build successful
14 42051 2024-06-22 4:26:24 0:00:59 11021 build successful
12.arm64 131353 2024-06-22 0:44:59 0:00:07 36944 build successful
10.14 212549 2024-06-21 23:23:22 0:00:10 69182 build successful
11 160287 2024-06-21 23:19:37 0:00:36 48178 build successful
12 112107 2024-06-21 23:19:06 0:00:11 37042 build successful
10.13 238358 2024-06-21 23:02:36 0:00:09 78511 build successful
10.15 189431 2024-06-21 22:40:17 0:00:15 58250 build successful
13 72929 2024-06-21 22:03:30 0:00:46 22822 build successful
10.11 269311 2024-06-21 20:54:07 0:00:23 87668 build successful
10.7 196185 2024-06-21 20:49:40 0:00:22 59919 build successful
10.6.x86_64 207294 2024-06-21 20:44:25 0:00:18 60203 build successful
10.6 171615 2024-06-21 20:44:06 0:00:21 60159 build successful
10.8 182795 2024-06-21 20:40:57 0:00:41 57972 build successful
14.arm64 34869 2024-06-21 20:37:11 0:00:08 10661 build successful
10.10 275158 2024-06-21 20:36:22 0:00:22 87507 build successful
10.12 278817 2024-06-21 20:35:34 0:00:42 86385 build successful
10.9 282286 2024-06-21 20:34:23 0:00:22 87178 build successful