On 17 May 2010 03:05, Facundo Vozzi facundov79@gmail.com wrote:
Hi, I'm using Magma r42 on Pharo 1.0 and I have this situation:
"2356 Cities" Time millisecondsToRun: [mySession root states first cities do: [:each | Transcript show: each]] "16178 milliseconds"
mySession root answer a singleton that have 23 states and the first state has 2356 cities. Is 16178 milliseconds the expected time for accessing to it?
states and cities are OrderedCollection instances. Must I change it to MagmaCollection for better performance?
Yes. Alternatively you could change the magma read strategy, to tell it to fully reify all objects in your collection. But for large collections, use of MagmaCollection is preferable.
Thanks, Facundo _______________________________________________ Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma