[Top][All Lists]

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

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

From: Udo Giacomozzi
Subject: Re[2]: [Gnash-dev] Re: Bitwise stream reading performance
Date: Tue, 28 Aug 2007 11:56:03 +0200

Hello strk,

Tuesday, August 28, 2007, 11:46:48 AM, you wrote:
s> I still see it as a facility. The stream will just setup the buffer
s> for the BitsReader, knowing size of each tag..

Ok, yes, whatever, but anyway this is a minor detail at the moment. :)

s> Note that the users which are NOT willing to cache are tipically users
s> that will cache themselves.

You talk about JPEG tag loader for example? It could still use the
already present get_underlying_stream() function, ie. don't care if
they cache or not. Either you use that function or the bit reading
functions for a tag.

"cache" is not really the appropriate term. We just simplify the bit
parsing process by taking advantage of native processor operations
instead of loops and checks.

s> I'm currently preparing work to expand their interfaces to accept a
s> pre-made cache for reading. In that case, the stream (or
s> BitsReader) should provide a pointer to the underlying buffer.

Uhm, not sure I understand what you mean.


reply via email to

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