hrldcpr / pcollections

A Persistent Java Collections Library
Other
765 stars 79 forks source link

optimize `PSet.intersect()` #103

Open hrldcpr opened 2 years ago

hrldcpr commented 2 years ago
hrldcpr commented 2 years ago

(Also, is there a heuristic for plus-ing the intersection up from empty if it's small, versus minus-ing it down from full (as the current code does) if it's big? Probably nothing consistent…)