On Tue, May 4, 2010 at 12:09 AM, Brian Paul <bri...@vmware.com> wrote:

>  My guess is that the code GCC actually generates for both versions (the
>> original and the memcpy version) is pretty close to identical.  At -O0,
>> the memcpy version should be smaller / faster / have better stickers.
>>
>> In this particular case, why aren't we just using the system strdup?
>> Are there really still platforms that don't include it?
>>
>
> IIRC, Windows.
>

I think MSVC has had _strdup (with the underscore) since VC++ 6.0.

-Marek
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to