Optimize finding of costume given its model
Bug #1495198 reported by
hilaire
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: | 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.