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.
1 Comments:
your blog confused me
Post a Comment
<< Home