data.priority-map

There is one reflection warning in data.priority-map when invoking .equiv

Details

  • Type: Enhancement Enhancement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code

Description

Reflection warning, clojure/data/priority_map.clj:215:19 - call to equiv can't be resolved.

That line of source is this one inside the deftype for PersistentPriorityMap:
(equiv [this o] (.equiv item->priority o))

Activity

Hide
Andy Fingerhut added a comment -

Mark Engelberg independently discovered and fixed this issue some time ago.

Show
Andy Fingerhut added a comment - Mark Engelberg independently discovered and fixed this issue some time ago.
Hide
Andy Fingerhut added a comment -

Patch dprimap-4-eliminate-equiv-reflection-patch-v1.txt dated Apr 28 2013 eliminates an occurrence of reflection in the call to .equiv by adding a type hint.

Show
Andy Fingerhut added a comment - Patch dprimap-4-eliminate-equiv-reflection-patch-v1.txt dated Apr 28 2013 eliminates an occurrence of reflection in the call to .equiv by adding a type hint.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: