Hi

I want to be able to save out (from a projector) changes made at runtime
(lists & media).  I have looked at the vList xtra and also at saving an
external linked .cst using castLib.save().  For ease-of-management &
distribution I wanted to put everything into one file.

My first impression of vList because is very positive because I don't need
to reconstruct my lists when I read it in, and the compression & encryption
functions available in the Full version could be very useful in the future
(not needed for this project).  It's a fairly simple matter to repopulate my
cast from the media in the vList file.

My worry however is that, if I understand things correctly, using vList
means that ALL of my media must fit into RAM, I can't only load media as
required, whereas the castlib approach would allow members to be loaded &
unloaded as required using Director's built-in memory management.

Is this a correct assessment.  Anyone have thoughts/experiences about vList
in low memory situations.

Also on vList - when I run the following code:
( straight from the vList docs)

aList = [ ]
append aList, member(1).media
append aList, member(1).media
append aList, member(1).media
put aList

I get something like this:
-- [(media 135ea974), (media 136e7424), (media 135ea960)]

Which are all pointers to different memory addresses, and the size of the
list/memory hit goes up accordingly each time.  The docs state that the list
should contain the same pointer for each list item and the list should not
multiply in size.

It seems that for member.media & member.picture, the reference changes every
time it is queried (put member(1).media into the Watcher).  What do you
think about that Herr Heisenberg?  I get this on a MacOS9.2 D7//8/85.  How
did vList/updateStage achieve their results?

thanks in advance

johnAq

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to