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
use builtin clear to clear underlying slice after filtering
Instead of looping over the underlying slice `a` and setting all unneeded values to `nil` manually, one might simply use the builtin `clear` on the sub-slice starting at the end of `b`.
0 commit comments