> I'll try to experiment a bit with removing the observables to see
> differences.

Using the enableSpeedMode hack indeed speeds up addition of objects
to the canvas considerably. I have to be a bit careful about calling 
self.Render() in a few extra places, but that's not really too bad. For 
400 objects the time went down from 1 minute and 10 seconds to something 
like 2 seconds.

Something that suprises me is that as I keep adding objects it becomes
slower and slower: if the canvas already has 1600 objects, then adding
another 400 takes something like 8 seconds. After removing all objects
and then adding another 400, it still takes 8 seconds. I guess I'll have 
to profile a bit... this could just as well be a problem in my own code :)

Best regards,
Stefaan.

_______________________________________________
FloatCanvas mailing list
[email protected]
http://paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to