[physfs] [patch] buffered seeking

Ryan C. Gordon icculus at clutteredmind.org
Sun Aug 22 07:38:21 EDT 2004

> The attached patch avoids throwing away our precious buffered
> data (and saves an actual abstracted seek() and subsequent re-
> buffering) when the user does a seek (forward or backwards) that
> is short enough to lay within the currently-buffered region.  The
> cost is an abstracted tell() per seek on a buffered handle (very
> cheap in real life, I hope).

Huh, I thought I already applied this to CVS. Sorry about that; I'll do 
it in the morning.


More information about the physfs mailing list