Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Giving a program priority briefly
- Date: Tue, 12 Jun 2007 08:14:41 +0900
- From: Darren Cook <darren@example.com>
- Subject: Re: [tlug] Giving a program priority briefly
- References: <466B5A87.7000002@dcook.org> <78d7dd350706100221u524aa0baxa6498541674863b0@mail.gmail.com> <466BD066.90302@dcook.org> <d8fcc0800706100704h4dcf13d9h6955f03d0c09dc34@mail.gmail.com> <466C878D.10406@dcook.org> <d8fcc0800706101742j556cb54dgcd4dd32ec2f57296@mail.gmail.com> <87odjmft0w.fsf@uwakimon.sk.tsukuba.ac.jp>
- User-agent: Thunderbird 1.5.0.10 (X11/20070301)
> > any idea why g++ is ignoring the inline keyword to the detriment of > > this program's performance? > > One obvious factor would be if the base class is implemented in a > different .C from the derived class. ... No, same .cpp file. > int gimme_an_i () { return i; } > ... > is more likely to get inlined than > ... > int eyes::gimme_an_i () { return i; } No, it was the first style. I'm glad others thing this is weird as it suggests the code is to blame somewhere and the problem can be fixed. I'll announce here when I release this code in case anyone wants to play with it. Darren
- References:
- [tlug] Giving a program priority briefly
- From: Darren Cook
- Re: [tlug] Giving a program priority briefly
- From: Nguyen Vu Hung
- Re: [tlug] Giving a program priority briefly
- From: Darren Cook
- Re: [tlug] Giving a program priority briefly
- From: Josh Glover
- Re: [tlug] Giving a program priority briefly
- From: Darren Cook
- Re: [tlug] Giving a program priority briefly
- From: Josh Glover
- Re: [tlug] Giving a program priority briefly
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: [tlug] Correct particle to use
- Next by Date: Re: [tlug] Giving a program priority briefly
- Previous by thread: Re: [tlug] Giving a program priority briefly
- Next by thread: Re: [tlug] Giving a program priority briefly
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links