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.
-
-
To be honest I was using ripgrep to A warm up the disk cache and B just give a reasonable idea of how fast its possible to move through the code. Noticed your comments on https://www.reddit.com/r/rust/comments/82k9iy/loc_count_lines_of_code_quickly/ … which is what I am now benching against :)
-
Great! Sounds like you're on the right track. :-)
- 9 more replies
New conversation -
-
-
Hah yes that does make it work much harder. For smaller directories its actually slower for the test I am doing now. It is however searching binary files and the like so to be expected. Benchmarks, so subjective.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.