classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: NIO buffer changes


From: Sven de Marothy
Subject: [cp-patches] FYI: NIO buffer changes
Date: Mon, 18 Apr 2005 17:59:24 +0200

Following up Jeroen's patch, here are a few more optimizations I'd
already done to a few of the NIO buffer classes.
This improves the nio charset converter performance noticably.


/Sven

2005-04-18  Sven de Marothy  <address@hidden>

        * java/nio/ByteBufferImpl.java:
        (putChar): Inlined for speed.
        (put, get): Bulk methods can use arraycopy.
        * java/nio/CharBufferImpl.java:
        (put, get): Bulk methods can use arraycopy.

Attachment: niobuf2.patch
Description: Text Data


reply via email to

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