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: Jason Short <jshort@xxxxxxxxxxxxxx>
Date: Fri, 23 Jan 2004 12:52:15 -0500 (EST)

On Fri, 23 Jan 2004, 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

And all other iterators are unsafe too.  Perhaps this is not a problem in
the current code (can you say for sure???) but fixing it is a good thing.

> unit_list_iterate_safe is slow

And unit lists are the only thing that even _has_ a safe iterator.

jason


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