bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/22805] DataOutputStream.writeUTF() should be buffered


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug classpath/22805] DataOutputStream.writeUTF() should be buffered
Date: 16 Oct 2005 01:27:17 -0000

DataOutputStream.writeUTF() performs one call to write[Byte|Short|Int]() per
character. That's very inefficient, particularly since
RandomAccessFile.writeUTF() calls this method on a DataOutputStream which sits
directly on top of a FileOutputStream without a BufferedOutputStream in
between.


------- Comment #1 from from-classpath at savannah dot gnu dot org  2004-12-31 
09:47 -------
I have written a patch for this. Can you please test it and tell me if it
improves something ?


------- Comment #2 from from-classpath at savannah dot gnu dot org  2004-12-31 
14:30 -------
I have written a patch for this. Can you please test it and tell me if it
improves something ?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22805





reply via email to

[Prev in Thread] Current Thread [Next in Thread]