[SDL] [PATCH] Re: SDL_memcpy variants used in SDL_BlitCopy

Catatonic Porpoise graue at oceanbase.org
Tue Sep 13 11:53:59 PDT 2005


Ricardo Cruz wrote:

> Perdon me, but may I ask why does SDL try to roll its own version of 
>memcpy()?
> I mean, wouldn't you think the authors of your's system C library would do 
>all possible optmizations possible?
>
Not meaning to be rude, but did you read the message you replied to? It 
answers your question.

("Because SDL copies small memory blocks, and the usual optimizations 
are only good for large memory blocks.")

Graue




More information about the SDL mailing list