Continuing to play with building the fastest possible code counter. Actually getting performance CLOSE to what ripgrep gets which is impressive since I am processing every byte. ~5 seconds to process the Linux kernel.
-
-
Hope so! Never needed to write code with this level of performance requirements before. Rather refreshing way to think about things.
-
w.r.t. https://github.com/boyter/scc I really think you should be giving the `-c` flag to ripgrep. Line counters print aggregate statistics, and comparing that with a command that prints virtually every line that it prints it not particularly meaningful. :-)
- 7 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.