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:42:00 UTC
[jira] [Resolved] (COLLECTIONS-831) BloomFilter: add clear() method
[ https://issues.apache.org/jira/browse/COLLECTIONS-831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claude Warren resolved COLLECTIONS-831.
---------------------------------------
Fix Version/s: 4.5
Resolution: Fixed
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
> Fix For: 4.5
>
> 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)