Quotient Filters, Part 9: How Values Are Removed

This installment of the Quotient Filter series explains how to delete values from the structure. The author notes that removal mirrors the addition logic, applied in reverse. Several cases are walked through: removing a value at the end of a run, removing a sole value from the middle of a cluster, and removing a value from the middle of a run. In each case, the filter first confirms the value exists, then clears its remainder and shifts subsequent entries backward while adjusting metadata bits. A helper function, clusterRunQuotients, is introduced to list the home slots of runs within a cluster.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in