Re: Re: memory streams
| From: | Wez Furlong | Date: | Sun, 17 Mar 2002 13:02:41 +0000 |
| Subject: | Re: Re: memory streams | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-81379@lists.php.net to get a copy of this message | ||
On 17/03/02, "Marcus Börger" <520072483730-0001@t-online.de> wrote:
> they do an auto resize so append will work but you can also use
> seek to overwrite in a memory stream.
Great!
> >I'm planning an API that will give you back a seekable stream
> >so the logic to determine when and what type of alternative to
> >use; we can use memory streams, but I think I'd feel happier
> >if we used a tmpfile() stream instead; if the data is small
> >enough, a sensible OS would cache the file in memory anyway.
>
> Mybe we should combine our work but go on you worked out
> a *very* nice api and did a great work for php!
I've got something planned; it might turn up today.
--Wez.