You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (JIRA)" <ji...@apache.org> on 2019/06/03 11:39:00 UTC

[jira] [Closed] (FLINK-12687) ByteHashSet is always in dense mode

     [ 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)