![]() Add a `_cmp_fast_eq` method to the `lazy_lexicographic_ordering` protocol so that implementors can short-circuit full comparison if they know (e.g. with a hash) that objects are equal (or not). `_cmp_fast_eq` can return True (known true), False (known false), or None (unknown -- do full comparison). Signed-off-by: Todd Gamblin <tgamblin@llnl.gov> |
||
---|---|---|
.. | ||
spack |