Optimize Critical Section Functions

Alexandre Julliard julliard at winehq.org
Fri Aug 20 17:27:53 CDT 2004


Michael Stefaniuc <mstefani at redhat.com> writes:

> Andreas Mohr wrote:
>> Umm, this should go into a global header file, right?
>> The theory being that it would be useful at many more performance critical
>> Wine places...
>> But I have to admit that I don't know which header file this should
>> be...
> Like in the Linux kernel (where this seems to come from) in compiler.h
> or something like that.

No, I don't think we want to do that, it would only encourage people
to sprinkle this stuff all over the place believing they are
"optimizing" the code. This should only be added in places where it
makes a significant difference, demonstrated with benchmark results.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list