Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2001:
[Freeciv-Dev] (Offtopic?) Compiler Optimization (was Server Error (PR#66
Home

[Freeciv-Dev] (Offtopic?) Compiler Optimization (was Server Error (PR#66

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] (Offtopic?) Compiler Optimization (was Server Error (PR#666))
From: 蔡恆華 <iquin@xxxxxxxxxx>
Date: Thu, 1 Feb 2001 19:54:40 -0500 (EST)

> Could you email me the soure that you compiled to produce this?  I'd
> like to try to chase this down.
Sure, try these:
foo(w,e){int xo,x;for(x=w;x<e;x++)bar(x+xo-w);}
foo(w,e){int xo,x=e-w;do bar(x+xo-1);while(--x);}
Note: I just noticed that w and e in mapgen.c are globals,
it gets slightly better but still not as good as expected.

Regards,
I.Q.
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup



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