You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrew Zhang (JIRA)" <ji...@apache.org> on 2006/07/28 11:14:17 UTC

[jira] Commented: (HARMONY-929) [classlib][nio]FileChannel.transforTo can use system call to improve efficiency

    [ http://issues.apache.org/jira/browse/HARMONY-929?page=comments#action_12424037 ] 
            
Andrew Zhang commented on HARMONY-929:
--------------------------------------

Hi Paulex,

The fix looks good, many thanks!

Best regards,
Andrew

> [classlib][nio]FileChannel.transforTo can use system call to improve efficiency
> -------------------------------------------------------------------------------
>
>                 Key: HARMONY-929
>                 URL: http://issues.apache.org/jira/browse/HARMONY-929
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Andrew Zhang
>         Assigned To: Paulex Yang
>         Attachments: 01.luni.diff, 02.nio.diff
>
>
> Hello, 
>     According to javadoc, the method transforTo is potentially much more efficient than a simple
> loop that reads from this channel and writes to the target channel. But currently, Harmony use a simple loop. Use system call instead of the simple loop can be an improvement.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira