[Seaside-dev] Why does WABufferedResponse need a ReadWriteStream?
Paolo Bonzini
bonzini at gnu.org
Tue Jan 27 08:06:56 UTC 2009
>> Would this be feasible to implement in other dialects? At worst you
>> can do #on:from:to: but that's often unoptimized and will do a copy
>> even when from=1.
>
> I guess that should be easy. In the worst case you can always
> implement it using "contents readStream".
Yes, though that introduces the additional copy. Eliminating copies and
object allocations is the key to efficient performance with Streams.
> However such a conversion is not needed at the moment :-)
Didn't you say you might reintroduce ReadWriteStream usage to implement
reencoding?
Paolo
More information about the seaside-dev
mailing list