Possible Duplicate:
What is the fastest way to read a large number of small files into memory?
I have a large number of small text files (29 bytes in size) but there are 1000+ of these.
I am trying to read in using BufferedReader but it seems to be quite slow considering that all the files are stored locally. We have tried with a very small number of these files (etc 12) and the reading is almost instantaneous.
Is there any more efficient way of reading or there is a bottleneck somewhere in the buffer?
Thanks!