I want to read and parse many files. Since there are more than 10,000 files that need to be analyzed, I want to make this process faster using streams.
For example, if I had 5 threads, I want them all to read a certain number of files at the same time, so that the reading and parsing process is faster. Is it possible? Can I get significant acceleration by dividing this into threads? If so, how can I do this?
PS I do not mind the use of external libraries.
I work with jdk 1.6
source share