Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] Re: (PR#2521) general effects framework
Home

[Freeciv-Dev] Re: (PR#2521) general effects framework

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: kaufman@xxxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2521) general effects framework
From: "Raimar Falke via RT" <rt@xxxxxxxxxxxxxx>
Date: Mon, 9 Dec 2002 12:39:00 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Mon, Dec 09, 2002 at 11:53:14AM -0800, Per I. Mathisen via RT wrote:
> 
> On Mon, 9 Dec 2002, Per I. Mathisen via RT wrote:
> > Normal autogame:
> > real  0m11.339s
> > user  0m10.830s
> > sys   0m0.110s
> >
> > Patch autogame:
> > real  0m44.189s
> > user  0m42.290s
> > sys   0m0.870s
> 
> Actually, it is calls to auto_arrange_workers() that eats up all this CPU
> time. I don't know why. Commenting out these calls, I get
> 
> real    0m19.630s
> user    0m19.300s
> sys     0m0.040s
> 
> as a result. But the results won't be correct unless we rearrange workers.
> 
> Maybe CM is faster?

Try it out. You know where you can find the code.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  (On the statement print "42 monkeys"+"1 snake"): BTW, both perl and Python
  get this wrong. Perl gives 43 and Python gives "42 monkeys1 snake", when 
  the answer is clearly "41 monkeys and 1 fat snake".  
    -- Jim Fulton, 10 Aug 1999




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