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 2017/01/17 08:51:26 UTC
[jira] [Commented] (APEXCORE-610) Avoid multiple getBytes() calls
in Tuple.writeString
[ https://issues.apache.org/jira/browse/APEXCORE-610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15825658#comment-15825658 ]
ASF GitHub Bot commented on APEXCORE-610:
-----------------------------------------
GitHub user tushargosavi opened a pull request:
https://github.com/apache/apex-core/pull/446
APEXCORE-610 Avoid multiple calls to getBytes.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tushargosavi/apex-core APEXCORE-610
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/apex-core/pull/446.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 #446
----
commit 44bc4b7a58298e228e749b58288e30187736ae86
Author: Tushar R. Gosavi <tu...@apache.org>
Date: 2017-01-17T08:38:13Z
APEXCORE-610 Avoid multiple calls to getBytes.
----
> Avoid multiple getBytes() calls in Tuple.writeString
> ----------------------------------------------------
>
> Key: APEXCORE-610
> URL: https://issues.apache.org/jira/browse/APEXCORE-610
> Project: Apache Apex Core
> Issue Type: Bug
> Components: Buffer Server
> Reporter: Tushar Gosavi
> Assignee: Tushar Gosavi
> Priority: Trivial
>
> Tuple.writeString calls getBytes() multiple times for identifier. each call to getBytes returns new byte array hence the call is costly in terms of memory usage.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)