On Thu, 5 Jul 2001 [EMAIL PROTECTED] wrote:

> Perhaps just having a different offset, like -1 to specify that you should
> always use the OS's file offset.

Hmm... that *only* works if you can guarantee that no other code (eg, some
filter) is going muck with the brigade.  IMO you're much better off
keeping track of the offset than counting on reading from the file
sequentially without backtracking and without skipping any.  Buckets
should work regardless of which buckets come before or after them in the
brigade.

> I agree whole-heartedly that we need to care about performance.  However,
> the need to be performance aware can NEVER interfere with making the code
> work correctly.

Exactly.


--Cliff


--------------------------------------------------------------
   Cliff Woolley
   [EMAIL PROTECTED]
   Charlottesville, VA


Reply via email to