gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] Re: Bitwise stream reading performance


From: strk
Subject: Re: [Gnash-dev] Re: Bitwise stream reading performance
Date: Mon, 27 Aug 2007 23:22:38 +0200

On Mon, Aug 27, 2007 at 06:40:13PM +0200, Udo Giacomozzi wrote:
> Hello strk,
> 
> Monday, August 27, 2007, 3:23:09 PM, you wrote:
> s> What about making gnash::stream cache controllable by user ?
> s> For example, tag loaders which intend to use the underlying stream
> s> could disable caching, while others could cache the whole tag.
> 
> That won't work as the read-ahead cache would load data (= steal data)
> from tu_file which instead should be read by these special tag
> loaders.

tag loaders which will use the underlying stream will NOT enable the cache..

> I fear we won't be able to implement any kind of caching mechanism
> unless *everything* uses "stream" to load data or bit-reading is
> implemented in tu_file itself. The latter case is the worst thing I
> can imagine.

I'd still research on externalizing the cached-bits-reader into a specialized
class.

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]