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
Optimize permutations with low effort (no change in algorithm) (#184)
* perf: optimize `permutations` (`increment!` loop)
- The construct previously used in the `for` loop is inefficient.
- The loop can exit early as soon as `state[i] <= max` is satisfied.
- All array indexing can be marked `@inbounds`.
* style: trailing white spaces
0 commit comments