[physfs] question about PHYSFS_read and PHYSFS_write

Ryan C. Gordon icculus at clutteredmind.org
Fri May 2 02:47:02 EDT 2003

> Which would be faster/more efficient..
> PHYSFS_read(handle,buff,8192,1);
> or
> PHYSFS_read(handle,buff,1,8192);
> ??
> Same question for the PHYSFS_write function.

In some drivers, they are identical (it'll read size*count bytes in one
block), others will be (theoretically) more efficient to read 8192 bytes
in one block, but likely do the exact same thing (size*count) under the


More information about the physfs mailing list