cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay Zhuang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9067) BloomFilter serialization format should not change byte ordering
Date Thu, 11 Jan 2018 18:26:00 GMT

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

Jay Zhuang commented on CASSANDRA-9067:
---------------------------------------

I see. Thanks [~jasobrown] for the explanation. I'll remove the on-heap BloomFilter (CASSANDRA-14152)
and work on this.

> BloomFilter serialization format should not change byte ordering
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-9067
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9067
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Benedict
>            Assignee: Jay Zhuang
>            Priority: Minor
>             Fix For: 4.x
>
>
> As a follow-up to CASSANDRA-9066 and CASSANDRA-9060, it appears we do some unnecessary
byte swapping during the serialization of bloom filters, which makes the logic slower and
harder to follow. We should either perform them more efficiently (using Long.reverseBytes)
or, preferably, eliminate the conversion altogether since it does not appear to serve any
purpose.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message