Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: Profiling Civserver again
Home

[Freeciv-Dev] Re: Profiling Civserver again

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Profiling Civserver again
From: Gaute B Strokkenes <gs234@xxxxxxxxx>
Date: Sun, 05 Aug 2001 04:32:11 +0200

On Fri, 3 Aug 2001, mastro@xxxxxxxxxx wrote:
> Paul Zastoupil wrote:
>> On Fri, Aug 03, 2001 at 02:07:11AM +0200, Gaute B Strokkenes wrote:
>> > Paul, could you try this?
>>
>> http://civserver.freeciv.org/~paulz/gprof-gs234.txt
> 
> Ehm...
> I'm sorry, but this code:
> 
> #define map_adjust_x(X)            \
>   ((X) < 0                         \
>    ? ((X) % map.xsize + map.xsize) \
>    : ((X) >= map.xsize             \
>       ? (X) % map.xsize            \
>       : (X)))
> 
> will reopen the bug
> <http://www.freeciv.org/cgi-bin/bugs?findid=749>.

Does this address your concerns?

Attachment: mapadjust2.diff
Description: Text document

Paul, could you try profiling this?

-- 
Big Gaute                               http://www.srcf.ucam.org/~gs234/
I've got to get these SNACK CAKES to NEWARK by DAWN!!

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