FastJavaIO
FastJavaIO copied to clipboard
Very fast Java input reader.
Can you simply add `boolean hasNext() {return num_bytes_read != -1;}` ? This way I can fuzzy benchmark it - else your code throws exceptions in the end.
There are still a lot of undocumented methods that should be present on the README including the methods which allow you to read in a matrix of values.
It would be nice for the InputReader to support the java.io.Reader interface to be able to process input from multiple other input sources.
I was the original asker of http://stackoverflow.com/questions/7049011/whats-the-fastest-way-to-read-from-system-in-in-java Here are my implementations: https://github.com/pathikrit/better-files/tree/master/benchmarks/src/main Benchmarks: https://github.com/pathikrit/better-files/tree/master/benchmarks I hope to incorporate your lib in my benchmarks. Is it available in maven?
This PR: - Bumps up dependencies - Partially rewrites tests for JUnit 5 - Reorganizes repository structure - Changes Gradle build config to take advantage of the Java plugin -...
Related: #7 This PR migrates the Travis CI setup to GitHub Actions and sets up Dependabot.