You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Vitali Lovich (JIRA)" <ji...@apache.org> on 2013/04/26 18:26:16 UTC
[jira] [Commented] (THRIFT-1854) trove support for lists of
primitives
[ https://issues.apache.org/jira/browse/THRIFT-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13642991#comment-13642991 ]
Vitali Lovich commented on THRIFT-1854:
---------------------------------------
Is there an alternate suggestion if adding trove as an optional dependency is not an option?
> trove support for lists of primitives
> -------------------------------------
>
> Key: THRIFT-1854
> URL: https://issues.apache.org/jira/browse/THRIFT-1854
> Project: Thrift
> Issue Type: New Feature
> Components: Java - Compiler
> Reporter: Vitali Lovich
> Attachments: 0001-adding-support-to-use-Trove-0.9-lists-for-lists.patch, 0001-adding-support-to-use-Trove-lists-for-lists.patch
>
>
> When dealing with large collections of primitive types, there can be significant memory (i.e. using arrays of objects instead of arrays of primitives) & runtime overhead (autoboxing/unboxing) using the default collections. Utilizing trove can significantly improve things. ideally support would be added for sets & maps, but as a first pass lists would be great.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira