[
https://issues.apache.org/jira/browse/FLINK-2404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14642602#comment-14642602
]
Maximilian Michels commented on FLINK-2404:
-------------------------------------------
The performance impact might differ depending on the JDK. Which one did you
use? Did you run the experiment multiple times to get an average or a median
time measurement?
There should definitely be an impact because a conversion has to be performed.
However, the JIT compiler might be able to optimize simple cases.
> 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)