Details
Assignee
UnassignedUnassignedReporter
Andrey ZaytsevAndrey ZaytsevPatch
CodePriority
Minor
Details
Details
Assignee
Unassigned
UnassignedReporter
Andrey Zaytsev
Andrey ZaytsevPatch
Code
Priority
Created October 5, 2016 at 9:56 PM
Updated November 20, 2017 at 1:43 AM
find-and-cache-best-method was pretty messy and confusing. cache reset is done in -get-method fn itself and it was basically a dead code. find-best-method is the replacement of it and operates with immutable data instead of internal multimethod's mutable state.
prefers* function didn't mutate the atom too, so now it takes an immutable value.
dominates is now an internal helper of find-best-method since it is private and not used by anything else.