You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Later tag-index lookups binary-search every entry against the candidates #248
When a statement has several tag filters, collect_ids looks the keys up one after another, and filter_id_list keeps the entries of each later key whose id is among the candidates so far, with a binary search per entry. For a common key such as highway that is millions of searches, nearly all failing: in the maxheight query of #242 over an empty box, the binary searches are about half the time.
Expectation
#1 added Id_Bit_Filter, which rejects most absent ids with one bit test. Using it in front of the binary search here removes most of that cost.
Activity