Closed alyst closed 3 years ago
Replace the current one-line implementation of droplevels!() as behind the scenes it requires sorting and arrays intersection. The new implementation scans the array only once, and doesn't rebuild the array when all levels are observed.
droplevels!()
do you think it is ready to be merged?
We might need to wait a bit as @nalimilan is OOO AFAICT.
gentle bump
Feel free to merge PRs that I have approved (three times!). :-)
Replace the current one-line implementation of
droplevels!()
as behind the scenes it requires sorting and arrays intersection. The new implementation scans the array only once, and doesn't rebuild the array when all levels are observed.