Working with lots of large Forms
Yisrael Lowenstein
gte356h at prism.gatech.edu
Wed Mar 20 16:38:09 UTC 2002
I am working on making squeak Digital Video Special Effects demos for
SqueakEnd. I am trying to get a nice way to have OrderedCollection type
access to lots of large forms. I can't keep them in memory because they
are far too big.
My solution so far has been to make a sort of wrapper class that reads in
an mpeg or a zip file of BMPs and saves the frames as BMPs to a directory.
Then the user can use the wrapper to access and change those files.
my main problems are:
- kludginess: does squeak have something that automatically handles
bringing big things in and out of memory? someone mentioned using an
OrderedCollection of ImageSegments of Forms...would this work? where can
I find info about how to use ImageSegments?
- speed: my current use of BMPs is pretty good fast for reading, but
writing takes a much longer...Is there a way to save and reload forms in a
different, faster format? I saw writeOn: and storeOn: but was unable to
get them to work correctly/ figure out how to read them back in.
Any help would be GREATLY appreciated.
Thanks!
Lushi
o |Yisrael Lowenstein: Computer Science Master's Student & Squeaker
() o|lushi at bigfoot.com; gte356h at prism.gatech.edu; lushi at cc.gatech.edu
o_/||\/ |"Before you criticize a man, walk a mile in his shoes. That way
|| | when you do criticize him, you'll be a mile away and have his
_/\_ | shoes." - Unknown AIM: YisraelL ICQ: 1037061
Class Schedule: http://www.prism.gatech.edu/~gte356h/schedule/
More information about the Squeak-dev
mailing list
|