[Etoys] etoys performance problems
Bert Freudenberg
bert at freudenbergs.de
Wed Mar 26 06:43:24 EDT 2008
On Mar 26, 2008, at 6:42 , Ties Stuij wrote:
> On Wed, Mar 26, 2008 at 12:43 AM, Hilaire Fernandes
> <hilaire at ofset.org> wrote:
>> Hello Tie,
>>
>> Your email is very interesting.
>> And I am wondering: does jpeg file inserted in a Squeak image then
>> saved in a .pr file are saved in the .pr file as jpeg data or just
>> 24bits RBG form data?
>> I am enclined to think this is the second option, if so the size
>> impact is hudge.
>
> Hmm, yes interesting question. I didn't investigate, but judging from
> the amount of pictures compared to the file size, I guessed they were
> stored compressed in one way or another. Perhaps somebody with
> knowledge could shed some light?
As far as I know the forms are hibernated (that is, the form's Bitmap
in run-length encoded into a ByteArray) and stored as-is in the image
segment that then is zipped. Depending on the picture contents this
compresses quite well.
- Bert -
More information about the Etoys
mailing list