A solution to the multiple inclusion problem

John Nagle nagle at well.UUCP
Fri Oct 27 03:39:16 AEST 1989


In article <1989Oct24.060920.28655 at cs.rochester.edu> ken at cs.rochester.edu writes:
->But is this really as inefficient as people think? I tried the
->following on a Sun-4/60
->
->% wc grammar0.cc
->     932    2944   19700 grammar0.cc
->% g++ -I../h -E grammar0.cc | wc
->    3728    8219   63497
->% time g++ -I../h -E grammar0.cc > /tmp/foo.cc
->0.4u 0.3s 0:01 44% 0+208k 0+9io 0pf+0w
->
->Looks pretty insignificant compared to parsing and CG time.

       What are you comparing to what?  Only one time measurement is given.
This makes it rather meaningless to draw any conclusions.


					John Nagle



More information about the Comp.lang.c mailing list