commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] [bugs #11190] DataOutputStream.writeUTF() should be buffered


From: Michael Koch
Subject: [commit-cp] [bugs #11190] DataOutputStream.writeUTF() should be buffered
Date: Fri, 31 Dec 2004 05:06:18 -0500
User-agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux; X11; i686; de, address@hidden) (KHTML, like Gecko)

This mail is an automated notification from the bugs tracker
 of the project: classpath.

/**************************************************************************/
[bugs #11190] Latest Modifications:

Changes by: 
                Michael Koch <address@hidden>
'Date: 
                Fre 31.12.2004 at 09:47 (GMT)

------------------ Additional Follow-up Comments ----------------------------
I have written a patch for this. Can you please test it and tell me if it 
improves something ?






/**************************************************************************/
[bugs #11190] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11190>
Project: classpath
Submitted by: Julian Scheid
On: Don 02.12.2004 at 16:22

Category:  classpath
Severity:  5 - Average
Resolution:  None
Privacy:  Public
Assigned to:  None
Status:  Open
Platform Version:  None


Summary:  DataOutputStream.writeUTF() should be buffered

Original Submission:  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.


Follow-up Comments
------------------


-------------------------------------------------------
Date: Fre 31.12.2004 at 09:47       By: Michael Koch <mkoch>
I have written a patch for this. Can you please test it and tell me if it 
improves something ?






File Attachments
-------------------

-------------------------------------------------------
Date: Fre 31.12.2004 at 09:47  Name: io.diff  Size: 2,19KB   By: mkoch
writeUTF() rewrite
http://savannah.gnu.org/bugs/download.php?item_id=11190&amp;item_file_id=2008






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11190>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

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