[
https://issues.apache.org/jira/browse/FLINK-2404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14644333#comment-14644333
]
ASF GitHub Bot commented on FLINK-2404:
---------------------------------------
Github user sachingoel0101 commented on the pull request:
https://github.com/apache/flink/pull/942#issuecomment-125597443
Should we add some kind of annotation to suggest the usage of the primitive
functions? We can't deprecate the older ones probably.
> LongCounters should have an "addValue()" method for primitive longs
> -------------------------------------------------------------------
>
> Key: FLINK-2404
> URL: https://issues.apache.org/jira/browse/FLINK-2404
> Project: Flink
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.10
> Reporter: Stephan Ewen
> Fix For: 0.10
>
>
> Since the LongCounter is used heavily for internal statistics reporting, it
> must have very low overhead.
> The current "addValue()" method always boxes and unboxes the values, which is
> unnecessary overhead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)