| Deutsch English Français Italiano |
|
<86r02iicl3.fsf@linuxsc.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch <tr.17687@z991.linuxsc.com> Newsgroups: comp.lang.c Subject: Re: Suggested method for returning a string from a C program? Date: Thu, 27 Mar 2025 10:54:16 -0700 Organization: A noiseless patient Spider Lines: 14 Message-ID: <86r02iicl3.fsf@linuxsc.com> References: <vrd77d$3nvtf$2@dont-email.me> <vrrvnh$176lu$1@dont-email.me> <vrs0j5$191gt$1@dont-email.me> <vrs2eu$176lu$2@dont-email.me> <vrs2r3$1b0ov$1@dont-email.me> <vrs7oi$1e2j7$1@dont-email.me> <vrtq62$2unrb$1@dont-email.me> <vru2t0$35frt$2@dont-email.me> <vrufju$3i02s$1@dont-email.me> <vrugmo$3ij4s$2@dont-email.me> <vrugut$3j3ah$1@dont-email.me> <vruma5$3mvbj$2@dont-email.me> <vs0gsh$1en04$1@dont-email.me> <20250326110011.634@kylheku.com> <vs25oi$2pqb$1@paganini.bofh.team> <QadFP.1351322$zz8b.870017@fx09.iad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Thu, 27 Mar 2025 18:54:18 +0100 (CET) Injection-Info: dont-email.me; posting-host="3a6190fab936320ab0975276fac84019"; logging-data="838525"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2rOOQeUxC2a0sFhFFVxqhKaiPFgzdh7s=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:RuN3AbK0D2MqVvZZy6XwB+03leQ= sha1:ggPGMHSM9bGf6yacV5x21fgju6s= scott@slp53.sl.home (Scott Lurndal) writes: > [...] I have one > source file that takes almost 7 minutes to compile > when using -O3 on a very-high-end xeon box. Mostly > buried in the overall compile time when using parallel > make. > > The code could be restructured to compile in a few seconds; > but that would require substantial changes to the rest > of the codebase. Compiling with -O0 for development > testing reduces the compile time to a few seconds. How long does it take compiling with -O1?