Optimize finding of costume given its model

Bug #1495198 reported by hilaire on 2015-09-13
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo II

Bug Description

For a x25 boost use the hash value of mathItem to compare, not the object itself:

DrGeo>>costumeOf: aMathItem
"Find the costume of the given mathItem"
 costumes do: [:costume|
  costume mathItem hash = aMathItem hash
   ifTrue: [^costume]].

tags: added: script
Changed in drgeo:
status: New → Fix Committed
Changed in drgeo:
milestone: wip → 15.12
Changed in drgeo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers