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
refactor(lock_rules): small improvements (ocaml#12534)
Small tweaks from a reading of the code. Some specific points to keep in
mind:
* There's no point to use [Rules.collect] if we aren't using dynamic
scoping
* Re-ordering of arguments to reduce line lengths when it's "free"
* Pass in the workspace instead of recomputing. Calling memoized
functions is OK, but passing the values we already computed is usually
better.
Signed-off-by: Rudi Grinberg <[email protected]>
<!-- ps-id: 8615efbf-0524-4cd5-b3c9-a6d2b091f590 -->
0 commit comments