[Liboil] oil_memcpy - what size is small ?

David Schleef ds at schleef.org
Tue Dec 19 13:07:55 PST 2006


On Mon, Dec 18, 2006 at 07:53:40PM +0100, salsaman wrote:
> In the documentation for oil_memcpy it says that it is only faster for 
> small copies.
> 
> What is a rough estimate for "small" ?

It is useful for any size larger than about 32 bytes, but its usefulness
decreases above the cache size, since it doesn't do cache writethrough.



dave...



More information about the Liboil mailing list