applin.hin

来自「1984-1993模糊 C 源代码竞赛.zip 非常的好,不过这是DOS格式,」· HIN 代码 · 共 29 行

HIN
29
字号
Best of show: <hpfclg!neutron> Jack Applin    	Jack Applin	Hewlett-Packard	3404 E. Harmony Rd	Ft. Collins, CO 	80525 	USACompile and execute with no argument, if you can!This entry is by far the most unusual abuse of the C preprocessor thatwe have received thus far.  Nearly all of the real work is done in thepreprocessor!When we compiled applin.c on an Amdahl 5890-300E, we found that itspent over 75 minutes in the System V C preprocessor!  Besides showingthat the standard System V cpp is slow, it showed that it contained amemory usage problem.  The applin.c only uses 29 different preprocessorsymbols (besides <stdio.h> and yet the preprocessor ran out of space!The GNU C preprocessor took less than 45 seconds to perform the 2nd pass on the Amdahl 5890-300E.  But due to the ANSI-ness of GNU cpp (v.  1-21), it was not able to cleanly substitute a symbol that began with a '#'.Clearly the GNU C preprocessor is faster.A smaller version of applin.c can be found in zsmall.c.  Your machinemay have an easier time with this program.  See the Makefile for details.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?