Description
AnchorIndexingFilter should use a plain HashSet, instead of WeakHashMap. WeakHashMap is unnecessary and can perhaps even cause bugs. (A WeakHashMap get its entries removed when the gc notices the keys are not elsewhere in use.)
This patch also makes the filter a bit faster by lazy instantiating the set. (No need to create one everytime when deduplication is off).