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/11 13:40:00 UTC

[jira] [Created] (COLLECTIONS-831) BloomFilter: add clear() method

Claude Warren created COLLECTIONS-831:
-----------------------------------------

             Summary: 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


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)