classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] RFC: Optimizing java.io.DataOutputStream


From: Michael Koch
Subject: [cp-patches] RFC: Optimizing java.io.DataOutputStream
Date: Fri, 31 Dec 2004 15:32:01 +0100
User-agent: KMail/1.6.2

Hi list,


Inspired by 
https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=11190 
and a discussion on IRC with Mark Wielaard I wrote the attached patch 
to optimize java.io.DataOutputStream. If someone sees more 
optimizations please speak up.


Michael


2004-12-31  Michael Koch  <address@hidden>

 * java/io/DataOutputStream.java
 (writeShort): Fixed HTML entities in javadoc.
 (writeChar): Likewise.
 (writeInt): Likewise.
 (writeLong): Likewise.
 (writeBytes): Rewritten to write data to underlying stream only once.
 (writeChars): Likewise.
 (writeUTF): Likewise.
-- 
Homepage: http://www.worldforge.org/

Attachment: io.diff
Description: Text Data


reply via email to

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