Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #120838
| From | Vir Campestris <vir.campestris@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: I'm going to give up on this... |
| Date | 2024-11-04 21:24 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <vgbe37$14eft$1@dont-email.me> (permalink) |
| References | <vfvlo3$2lbru$1@dont-email.me> <20241031124424.00002cae@yahoo.com> <vg0c46$2p361$1@dont-email.me> <20241103134118.00002365@yahoo.com> |
On 03/11/2024 11:41, Michael S wrote: > I don't quite understand how it follows. Didn't you get it both modular > and fast? > > BTW, I strongly suspect that it would be equally fast when you do not > specify 'inline'. > I also suspect, but less strongly, that if you opt for either Global > Program Optimization or Link-time Code Generation then it would be > equally fast even without 'static'. Less strongly, because of absence > of 1st-hand experience with GPO/LTCG on gcc tools. By using inline, and putting all the code in the same file, I got the speed. I only worked this out after I'd broken the functions out into separate source files (and object files) to find the code was always slow. ANdy
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
I'm going to give up on this... Vir Campestris <vir.campestris@invalid.invalid> - 2024-10-31 10:21 +0000
Re: I'm going to give up on this... Michael S <already5chosen@yahoo.com> - 2024-10-31 12:44 +0200
Re: I'm going to give up on this... Vir Campestris <vir.campestris@invalid.invalid> - 2024-10-31 16:43 +0000
Re: I'm going to give up on this... Mad Hamish <newsunspammelaws@iinet.unspamme.net.au> - 2024-11-03 21:46 +1100
Re: I'm going to give up on this... Vir Campestris <vir.campestris@invalid.invalid> - 2024-11-04 21:30 +0000
Re: I'm going to give up on this... Michael S <already5chosen@yahoo.com> - 2024-11-03 13:41 +0200
Re: I'm going to give up on this... Vir Campestris <vir.campestris@invalid.invalid> - 2024-11-04 21:24 +0000
Re: I'm going to give up on this... Sam <sam@email-scan.com> - 2024-10-31 07:47 -0400
csiph-web