[squeak-dev] quick handling of graphics files

Bert Freudenberg bert at freudenbergs.de
Wed Apr 14 16:07:37 UTC 2010


On 14.04.2010, at 18:01, Ross Boylan wrote:
> 
> On Wed, 2010-04-14 at 20:45 +0530, K. K. Subramaniam wrote:
>> On Wednesday 14 April 2010 07:07:58 am Ross Boylan wrote:
>>> One file took over a minute to open when I selected "open graphic in
>>> window" from the file browser.  (ImageReadWriter formFromFileNamed:
>>> 'myfile.png') asMorph openInHand had about the same speed.
>> That is way too long. I am able to open 300k+ scans of A4 sheets in a couple 
>> of seconds with Squeak 3.11 on Kubuntu 9.10.
>> 
>> What is special about this file?
>> 
>> Subbu
> I don't know, but here's some more info:
>  Geometry: 3360x4376+0+0
>  Depth: 1-bit

As Andreas suggested, profile the loading code. If you don't know how to read the profile, send it here.

- Bert -





More information about the Squeak-dev mailing list