[PATCH] Speed up LEX line cleaning a bit...
Chris Lattner
clattner@apple.com
Mon Mar 15 00:13:00 GMT 2010
On Mar 14, 2010, at 4:20 PM, David Miller wrote:
> From: "Joseph S. Myers" <joseph@codesourcery.com>
> Date: Sun, 14 Mar 2010 23:16:21 +0000 (UTC)
>
>> The idea would be to reduce the number of operations done on each word
>> while processing a line, so reducing the total number of instructions in
>> the inner loop. (Additionally, backslashes are common in strings, so it
>> would be good not to have to leave the vectorized loop for them.)
>
> Understood, but it's really not possible here since as you note we
> either need to continue supporting spaces amidst backslash escaped
> newlines, or warn about it if support is removed.
>
> I was actually surprised that this construct was supported,
> to be honest. Who will really notice if we remove it? :-)
Unfortunately, a lot of real code depends on it, as horrifying as that is.
-Chris
More information about the Gcc-patches
mailing list