You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vladimir Sitnikov (JIRA)" <ji...@apache.org> on 2014/11/11 09:15:34 UTC

[jira] [Comment Edited] (CALCITE-460) Add ImmutableBitSet and replace uses of BitSet

    [ https://issues.apache.org/jira/browse/CALCITE-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14206118#comment-14206118 ] 

Vladimir Sitnikov edited comment on CALCITE-460 at 11/11/14 8:15 AM:
---------------------------------------------------------------------

I have no preference, however this is a doubtful change: it could result in [polymorphic dispatch|https://wikis.oracle.com/display/HotSpotInternals/VirtualCalls] of bitSet methods since JVM would face with a lot of different implementations.


was (Author: vladimirsitnikov):
While I have no preference, however this is a doubtful change: it could result in [polymorphic dispatch|https://wikis.oracle.com/display/HotSpotInternals/VirtualCalls] of bitSet methods since JVM would face with a lot of different implementations.

> Add ImmutableBitSet and replace uses of BitSet
> ----------------------------------------------
>
>                 Key: CALCITE-460
>                 URL: https://issues.apache.org/jira/browse/CALCITE-460
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>
> Calcite makes heavy use of bit sets. java.util.BitSet has a convenient API but (a) is mutable, (b) uses quite a lot of memory, (c) is not iterable.
> Propose to implement ImmutableBitSet, which addresses those deficiencies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)