🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Bryan Boreham Sun, 27 Aug 1989 17:57
Inline functions give faster compilation!
#104
Author: Bryan Boreham
Date: Sun, 27 Aug 1989 17:57
17 lines
1044 bytes
I recently noticed, much to my amazement, that using the
-finline-functions switch can give a sizeable reduction in
compile-time. Here is an example:

kewill% time g++ micky.c -S -I../../src
33.4u 4.2s 0:54 69% 280+784k 109+89io 3pf+0w
kewill% time g++ micky.c -S -I../../src -finline-functions
26.2u 2.5s 0:31 90% 272+1120k 72+62io 3pf+0w

"micky.c" is a demo program from ET++ that is around 2K long; 148K
pre-processed.

I guess your mileage may vary, depending on the number of in-class
functions you have. Also, version 1.35 will sometimes core-dump when
using -finline-functions. This is fixed in 1.36.

Bryan.
g++ for the SGI
#105
Author: EMD
Date: Tue, 29 Aug 1989 13:03
9 lines
832 bytes
After taking a course in c++ last week, I would very much like to get
g++ and gcc running on my machine, which is a Silicon Graphics 4D series
machine.  If anyone could give me some advice on how to accomplish this
I would really appreciate it.  I have version 1.34.0 of both.
Thanks.

Brad Miller         Control Data Corp. Energy Management
                    Plymouth, MN
bmiller@shamash.cdc.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads