posted 22 years ago
An interesting question came up today: all other things being equal, is there a performance difference between writing a serialized object to a file and writing that object's data to a file? The object in question is a StringBuffer. I would tend to think that just writing the data to the file would be quicker, but that's a guess. Any thoughts?