Optimize finding of costume given its model

Bug #1495198 reported by hilaire
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo
Fix Released
Medium
Unassigned

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]].
 ^nil

Tags: core script
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.