Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2004:
[Freeciv-Dev] Re: (PR#9020) optimization of map_get_tile
Home

[Freeciv-Dev] Re: (PR#9020) optimization of map_get_tile

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#9020) optimization of map_get_tile
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Fri, 18 Jun 2004 15:48:37 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9020 >

On Fri, 18 Jun 2004, Per Inge Mathisen wrote:

> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9020 >
>
> Maybe selectively picking gcc optimizations is a better idea than using
> -O3, though.

I have noticed GCC does not produce very good quality code just with -O2
in the past. Perhaps we should have two sets of flags, one "-O3" for
release code and "-O2 -g" for debugging.

Or perhaps just use "-O2 -finline-functions" instead of "-O2" ...

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa






[Prev in Thread] Current Thread [Next in Thread]