cpplib: double speed of comment skipping
Zack Weinberg
zack@wolery.cumb.org
Sun Apr 9 09:58:00 GMT 2000
On Sat, Apr 08, 2000 at 05:23:39PM +0900, Neil Booth wrote:
> This patch no longer checks for '/' in the main loop, which takes us
> down further to just 35% of the original runtime when compiled with
> -O2 for both long and short comments.
>
> It also fixes the column reporting for embedded "/*" warnings of the
> previous patch, and avoids the line
>
> /* /*/
>
> giving a warning about embedded comments, which occurs with the
> current CVS code.
>
> Ok to commit?
Yes.
More information about the Gcc-patches
mailing list