This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]