Open Delta456 opened 11 months ago
This is O(N^2). It should not be in the standard library.
This is O(N^2). It should not be in the standard library.
So only less than O(N) are allowed in the standard library so that it doesn't affect the performance?
EDIT: I wonder if this can be optimized further because what I wrote is just the prototype.
They belong in a set package.
They belong in a set package.
Yes, I saw that earlier but I didn't see it being further discussed so I thought no conclusion was drawn.
It's on hold pending the completion of the iterator design (#61897).
Proposal Details
Utility functions like
Intersect
andIntersectFunc
forslices
packages will be handy for several cases.