Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#10180) [Patch] Optimize MAX(), MIN() calls
Home

[Freeciv-Dev] (PR#10180) [Patch] Optimize MAX(), MIN() calls

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: marko.lindqvist@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#10180) [Patch] Optimize MAX(), MIN() calls
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 20 Sep 2004 19:00:36 -0700
Reply-to: rt@xxxxxxxxxxx

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

> [marko.lindqvist@xxxxxxxxxxx - Sat Sep 18 19:34:26 2004]:
> 
> 
>   Gcc already knows that 
> (builtin) functions strlen(), abs() and sqrt() are 'pure' so it can 
> optimize these situations even without this patch.

Should we mark more functions as "pure"?

jason



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