ObjectOutputStream.writeUTF() vs. writeObject()
writeUTF() will write the entire string to the stream every time while writeObject() will write the entire string once and then a reference which takes up significantly less space on subsequent invocations.


0 Comments:
Post a Comment
<< Home