I have a large array of Java simple structs (consists of just primitive members) and I need to save and load them from and to a file
What would be faster,
- implementing java.io.Serializable and using read/writeObject or
- overriding toString() / toCSV(), adding a new constructor and reading/writing to text file?
I want to avoid binary stream at this stage.