expr-fi/fastlwc
View on GitHub ↗ ★ 257 C
SIMD-enhanced word counter
9 mentions on Hacker News by 9 people: 4 stories, 5 comments · first 2019-10-28 · latest 2024-06-20
20082026
-
…reimplementations of wc already exist, e.g. this [0] one, and it's rather straightforward. [0] https://github.com/expr-fi/fastlwc
comment by Joker_vD · 2024-06-20 · in Wc2: Investigates optimizing 'wc', the Unix word count program -
…the input). Other than that, it really depends on your current locale and the wc you're using (see https://github.com/expr-fi/fastlwc README for more details). Do note that this D implementation seems to implement the wc character counting…
comment by eMSF · 2020-01-28 · in Wc in D: 712 Characters Without a Single Branch -
…before it than anything else. That said, I think you'll find this SIMD-enhanced wc interesting: https://github.com/expr-fi/fastlwc/
comment by ajeetdsouza · 2019-11-20 · in Beating C with 70 lines of Go -
It's mentioned in the post https://github.com/expr-fi/fastlwc/
comment by barbegal · 2019-11-20 · in Beating C with 70 lines of Go -
here you go: https://github.com/expr-fi/fastlwc "Beating wc with C"
comment by aqrit · 2019-11-18 · in Beating C with Common Lisp