This chain of blog posts https://itnext.io/using-java-to-read-really-really-large-files-a6f8a3f44649 … https://stuartmarks.wordpress.com/2019/01/11/processing-large-files-in-java/ … https://marcellanz.com/post/file-read-challenge/ … lead me to write this https://boyter.org/posts/file-read-challange/ … where it turns out none of the solutions are actually optimal. Fun to implement Go channels in Java though.
-
-
protip: ripgrep has --mmap and --no-mmap flags to make memory map usage a bit more explicit. Also, on my system, wc -l does not use memory maps. Use `strace` to confirm. :-)
-
Interesting. I just assumed it did because of the similar runtime. Never read it’s code. Perhaps is time to code spelunk again!
- 2 more replies
New conversation -
-
-
I like reality. Even when it results in the usual internet hate that makes me question why I even bother sometimes. Rule one. Never respond to the comments.
-
I liked that blogpost a lot, just sayin...
- 1 more reply
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.