[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src

Module name:	src
Changes by:	espie_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2000/02/02 07:00:12

Modified files:
	usr.bin/m4     : main.c 

Log message:
Optimize common case.

outputstr could be called for one character-long string.

Looking at profiling output, it WAS called for one-character long strings
most of the time, like 95% of calls...

Rework logic slightly to know about that case and output the character

Worth about 10%.

Reviewed by Paul Janzen.

Visit your host, monkey.org