Re: [opendemo-devel] Perfomance.
Status: Beta
Brought to you by:
girlich
From: Dr. U. G. <Uwe...@ph...> - 2002-01-08 10:05:09
|
Hello! A simple ring buffer (with a simple ring_read() and ring_write() function and nothing more) is not good enough, because our read functions don't advance the tail pointer. We do a lot of string parsing (with an open end) with the data in the buffer, so we need the data in the ring buffer even after a read already occured. Only the fbSkip() function discards the old data. So we possibly need more and more space in the ring buffer, which makes its organization not exactly easy. I come to the conclusion, that I first have to look at and understand all the typical uses of all the fb* functions. Maybe I can rewrite some of them to make a simpler API than the current fb* possible. Bye, Uwe |