Chris Lattner wrote:
>
> On Nov 25, 2008, at 3:05 PM, Daniel Dunbar wrote:
>
>> Author: ddunbar
>> Date: Tue Nov 25 17:05:24 2008
>> New Revision: 60063
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=60063&view=rev
>> Log:
>> Only call TryAnnotateScopeToken when parsing C++.
>> - This improves -parse-noop of Carbon.h by +2%, and I believe
>>   compensates for the majority of the performance regression in r58913.
>
> Argiris, is there any way to speed up TryAnnotateScopeToken in the 
> common case?

Oh, how about doing a isCXXTokenScopeSpecifier check before calling 
TryAnnotateScopeToken ?

-Argiris
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to