[
https://issues.apache.org/jira/browse/FLINK-12687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jark Wu closed FLINK-12687.
---------------------------
Resolution: Fixed
Fix Version/s: 1.9.0
Fixed in 1.9.0: c6eb3f5eb4d32fad4fb973a7e2da0bbc6a7dfc4a
> ByteHashSet is always in dense mode
> -----------------------------------
>
> Key: FLINK-12687
> URL: https://issues.apache.org/jira/browse/FLINK-12687
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Runtime
> Reporter: Liya Fan
> Assignee: Liya Fan
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.9.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)