[
https://issues.apache.org/jira/browse/FLINK-12687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-12687:
-----------------------------------
Labels: pull-request-available (was: )
> ByteHashSet is always in dense mode
> -----------------------------------
>
> Key: FLINK-12687
> URL: https://issues.apache.org/jira/browse/FLINK-12687
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Operators
> Reporter: Liya Fan
> Assignee: Liya Fan
> Priority: Minor
> Labels: pull-request-available
>
> Since there are only 256 possible byte values, the largest possible range is
> 255, and the condition
> range < OptimizableHashSet.DENSE_THRESHOLD
> must be satisfied. So ByteHashSet must be in dense mode.
> We can make use of this to improve the performance and code structure.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)