[Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

Nicolai Hess nicolaihess at gmail.com
Sat Jan 16 08:40:43 EST 2016

2016-01-16 13:50 GMT+01:00 Dimitris Chloupis <kilon.alios at gmail.com>:

> Seems that creating forms and morph from pngs is super slow
> opened bug report
> https://pharo.fogbugz.com/f/cases/17403/Creating-Forms-from-PNGs-is-very-slow
your are loading 0-59 images in one turn. this takes ~ 1000 ms. Thats not

How about loading them only on demand? This may cut down the start up time:

attache a small change for get and put the images into a dictionary and
only load new
"xx seconds-image" when it is used for the  first time.

- > [ChronosManager open] timeToRun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20160116/8d3f4410/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: delay_image_loading.cs
Type: application/octet-stream
Size: 3503 bytes
Desc: not available
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20160116/8d3f4410/attachment.cs>

More information about the Pharo-users mailing list