Slow when creating numerous items

Bug #1187490 reported by hilaire on 2013-06-04
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo II

Bug Description

When creating hundreds of identical type items, the factory is slow to calculate its unicity.
This problem occurs when a sketch is Smalltalk defined.

description: updated
Changed in drgeo:
milestone: none → 13.08
hilaire (hilaire-fernandes) wrote :

The hash value of the math items is now cached and recomputed only when needed (i.e. the math item is updated). The factory is now faster to compare existing items.
Optimization in the Segment Morph initialization: avoid superfluous #computeBounds sent message.

Changed in drgeo:
status: Confirmed → In Progress
hilaire (hilaire-fernandes) wrote :

Further enhancement will wait the Pharo Smalltalk 2.0 upgrade, to use the new profiler.

Changed in drgeo:
importance: Medium → Low
Changed in drgeo:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers