Consider a class containing a data set in Vector. I need to store it in a file thru serialzation so i can use a writeObject. Once this is in the file, whenever the data set changes i need to update the file. However with WriteObject, everytime the whole data set is written into the file. This can become a performance issue. For example if the Vector has 1000 entries and if it has been updated by 1, then to save it in the file i will still need to write 1000 entries + 1 which i feel is an overhead.
Can anyone tell me of a workaround to
boost performance?? Need your comments asap.