Created
October 7, 2018 23:13
-
-
Save travisofthenorth/eb2a68f5cd309dc7442ec4e1e55ae117 to your computer and use it in GitHub Desktop.
Intersection use case - authorize a user who has an allowed role/ability
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current behavior creates an intermediate array for both intersection tests when the resulting array is clearly not needed.
With the desired behavior, we could avoid creating the intermediate array and produce a faster best case runtime.