Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: list cleaning
Home

[Freeciv-Dev] Re: list cleaning

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <per@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: list cleaning
From: Raimar Falke <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Fri, 23 Jan 2004 13:49:53 +0100

On Fri, Jan 23, 2004 at 12:37:14PM +0000, Per I. Mathisen wrote:
> On Fri, 23 Jan 2004, Raimar Falke wrote:
> > Can you please repeat the problems which the current code has?
> 
> unit_list_iterate is unsafe

Yes but I don't think it is a problem or bug. It is designed this way.

> unit_list_iterate_safe is slow

Please explain i.e. please provide some numbers.

        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]