You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/06/04 12:48:01 UTC

[jira] [Updated] (FLINK-12730) Combine BitSet implementations in flink-runtime

     [ https://issues.apache.org/jira/browse/FLINK-12730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated FLINK-12730:
-----------------------------------
    Labels: pull-request-available  (was: )

> Combine BitSet implementations in flink-runtime
> -----------------------------------------------
>
>                 Key: FLINK-12730
>                 URL: https://issues.apache.org/jira/browse/FLINK-12730
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Coordination
>            Reporter: Liya Fan
>            Assignee: Liya Fan
>            Priority: Minor
>              Labels: pull-request-available
>
> There are two implementations for BitSet in flink-runtime ocmponent: one is org.apache.flink.runtime.operators.util.BloomFilter#BitSet, while the other is org.apache.flink.runtime.operators.util.BitSet
> The two classes are quite similar in their API and implementations. The only difference is that, the former is based based on long operation while the latter is based on byte operation. This has the following consequence:
>  # The byte based BitSet has better performance for get/set operations.
>  # The long based BitSet has better performance for the clear operation.
> We combine the two implementations and make the best of both worlds.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)