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
Summary:
Instead of fn.
This is used in the following diffs (we can match on `bool` but cannot match on `fn`).
Note I tried to replace `fn(bool) -> bool` and call like `cmp(a == b)` with:
* `(a == b) == positive`
* creating two different closures for `==` and `!=`
but for reasons I don't understand, it leads to perf regression.
Reviewed By: ndmitchell
Differential Revision: D30888379
fbshipit-source-id: fe936adc019cb69e45f2a51741982b7e36c54617
0 commit comments