You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/08/17 01:48:20 UTC

[jira] [Commented] (APEXCORE-502) Unnecessary byte array copy in DefaultKryoStreamCodec.toByteArray

    [ https://issues.apache.org/jira/browse/APEXCORE-502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15423739#comment-15423739 ] 

ASF GitHub Bot commented on APEXCORE-502:
-----------------------------------------

GitHub user vrozov opened a pull request:

    https://github.com/apache/apex-core/pull/370

    APEXCORE-502 Unnecessary byte array copy in DefaultKryoStreamCodec.toByteArray

    @tweise Please review

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/vrozov/apex-core APEXCORE-502

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/apex-core/pull/370.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #370
    
----
commit c210dc212a8ac2ecd3d83ce21e72960f35c2e9db
Author: Vlad Rozov <v....@datatorrent.com>
Date:   2016-08-17T01:46:14Z

    APEXCORE-502 Unnecessary byte array copy in DefaultKryoStreamCodec.toByteArray

----


> Unnecessary byte array copy in DefaultKryoStreamCodec.toByteArray
> -----------------------------------------------------------------
>
>                 Key: APEXCORE-502
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-502
>             Project: Apache Apex Core
>          Issue Type: Improvement
>            Reporter: Vlad Rozov
>            Assignee: Vlad Rozov
>
> {noformat}
>       slice = new Slice(os.toByteArray(), 0, os.toByteArray().length);
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)