You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Claude Warren (Jira)" <ji...@apache.org> on 2022/08/22 09:41:00 UTC
[jira] [Commented] (COLLECTIONS-831) BloomFilter: add clear() method
[ https://issues.apache.org/jira/browse/COLLECTIONS-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17582841#comment-17582841 ]
Claude Warren commented on COLLECTIONS-831:
-------------------------------------------
Pull request is: https://github.com/apache/commons-collections/pull/330
> BloomFilter: add clear() method
> -------------------------------
>
> Key: COLLECTIONS-831
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-831
> Project: Commons Collections
> Issue Type: Improvement
> Components: Collection
> Affects Versions: 4.5
> Reporter: Claude Warren
> Assignee: Claude Warren
> Priority: Minor
> Labels: bloom-filter
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> In cases where a Bloom filter is set and then cleared it is more efficient to clear the filter rather than dispose of it and create a new one. Particularly for large filters in environments where GC can be an issue.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)