[PATCH] Speed up LEX line cleaning a bit...

David Miller davem@davemloft.net
Sun Mar 14 23:25:00 GMT 2010


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? :-)



More information about the Gcc-patches mailing list