Set Intersection of SortedRanges
Nordlöw via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Dec 5 13:48:49 PST 2016
On Monday, 5 December 2016 at 21:34:39 UTC, Nordlöw wrote:
> What's the fastest way of calculating a set-intersection of two
> or more SortedRanges (all containing unique values)?
Ahh, setops has intersection aswell:
https://dlang.org/phobos/std_algorithm_setops.html#setIntersection
I should have a guessed that.
More information about the Digitalmars-d-learn
mailing list