Hi.
I want to save on file a set of unbufferized records (1 int + 4 floats each). Their number ranges from half a million records to several millions.
To save these data I used FileOutputStream and writeInt/writeFloat but they are incredibly slow. Using a text file with the readable data instead and converting them when necessary is far faster. This puzzles me because I don't know anything about Java's file classes.
Can you redirect me on a snippet to solve this problem? I couldn't find anything in the forum.
Thank you
Alex
1