Re: Buffered-Unbuffered data in AS?
Re: Buffered-Unbuffered data in AS?
- Subject: Re: Buffered-Unbuffered data in AS?
- From: "Philippe GRUCHET" <email@hidden>
- Date: Tue, 02 Jul 2002 20:15:07 +0100
From Philippe Gruchet:
>
Before writing a parser, I'd like to know if there's a size limit
>
to buffer data in AppleScript?
>
something like:
>
set x to get content of my_data as text
From Emmanuel:
>
No limit that I know.
From Jon Pugh:
>
Available memory? ;)
>
>
Generally it's half of available, since you need to copy your
>
buffer somewhere.
From has:
>
I think memory consumption would be the only practical concern, no?
Right!
I've just found a size limit: lower than 20K from an external data fork.
From 20K, AS doesn't handle buffered data correctly.
And from inside the Script Editor (events window), we can see that
data are not loaded at all!
So, from 20K and more, data must be cut into segments.
Thanks,
Philippe Gruchet
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.