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: Mon, 11 Jun 2007 09:42:06 +0900
- From: "Josh Glover" <jmglov@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>
On 11/06/07, Darren Cook <darren@example.com> wrote:
g++ -W -Wall -Wconversion -Wshadow -Werror -lboost_serialization -O3 -march=i686 -fomit-frame-pointer -DNDEBUG -ffast-math -frename-registers -DBOOST_SMART_ASSERT_MODE=0 -o ego_opt2 gtp.cpp main.cpp
Try this with -Os instead of -O3 and see what happens.
Steve, I think you know a little more about C++ compilers than I do; any idea why g++ is ignoring the inline keyword to the detriment of this program's performance?
Obviously, hand-optimisation is a time-honoured art, but on something as basic as this, you'd think the compiler would get things right.
-Josh
- Follow-Ups:
- Re: [tlug] Giving a program priority briefly
- From: Darren Cook
- Re: [tlug] Giving a program priority briefly
- From: Stephen J. Turnbull
- 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
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] contribution to F/OSS community
- Next by Date: Re: [tlug] contribution to F/OSS community
- 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