You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Takashi Yonebayashi (JIRA)" <ji...@apache.org> on 2010/11/10 03:10:28 UTC
[jira] Created: (THRIFT-997) Using valueOf for base types in
getFieldValue
Using valueOf for base types in getFieldValue
---------------------------------------------
Key: THRIFT-997
URL: https://issues.apache.org/jira/browse/THRIFT-997
Project: Thrift
Issue Type: Improvement
Components: Java - Compiler
Reporter: Takashi Yonebayashi
Priority: Minor
When returning a base type in getFieldValue, the constructor for the base type is called. This causes unnecessary object creation and doesn't take advantage of caching.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (THRIFT-997) Using valueOf for base types in
getFieldValue
Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Duxbury reassigned THRIFT-997:
------------------------------------
Assignee: Bryan Duxbury
> Using valueOf for base types in getFieldValue
> ---------------------------------------------
>
> Key: THRIFT-997
> URL: https://issues.apache.org/jira/browse/THRIFT-997
> Project: Thrift
> Issue Type: Improvement
> Components: Java - Compiler
> Reporter: Takashi Yonebayashi
> Assignee: Bryan Duxbury
> Priority: Minor
> Attachments: THRIFT-997.patch
>
>
> When returning a base type in getFieldValue, the constructor for the base type is called. This causes unnecessary object creation and doesn't take advantage of caching.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (THRIFT-997) Using valueOf for base types in
getFieldValue
Posted by "Takashi Yonebayashi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Takashi Yonebayashi updated THRIFT-997:
---------------------------------------
Attachment: THRIFT-997.patch
> Using valueOf for base types in getFieldValue
> ---------------------------------------------
>
> Key: THRIFT-997
> URL: https://issues.apache.org/jira/browse/THRIFT-997
> Project: Thrift
> Issue Type: Improvement
> Components: Java - Compiler
> Reporter: Takashi Yonebayashi
> Priority: Minor
> Attachments: THRIFT-997.patch
>
>
> When returning a base type in getFieldValue, the constructor for the base type is called. This causes unnecessary object creation and doesn't take advantage of caching.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (THRIFT-997) Using valueOf for base types in
getFieldValue
Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Duxbury closed THRIFT-997.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.7
I just committed this. Thanks for the patch, Takashi!
> Using valueOf for base types in getFieldValue
> ---------------------------------------------
>
> Key: THRIFT-997
> URL: https://issues.apache.org/jira/browse/THRIFT-997
> Project: Thrift
> Issue Type: Improvement
> Components: Java - Compiler
> Reporter: Takashi Yonebayashi
> Assignee: Bryan Duxbury
> Priority: Minor
> Fix For: 0.7
>
> Attachments: THRIFT-997.patch
>
>
> When returning a base type in getFieldValue, the constructor for the base type is called. This causes unnecessary object creation and doesn't take advantage of caching.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.