[Freeciv-Dev] Re: [PATCH] Worklist performance fix
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Tuesday 06 February 2001 00:23, Raimar Falke wrote:
> Hi,
>
> I profiled the client and found that has_capability() isn't cheap. The
> profile showed put_worklist() and iget_worklist() at top
> positions. The patch fixed this and also formats the methods properly.
>
> If the problem resurfaces it may also be possible to tackle it in a
> general way.
>
> Raimar
The capability checking will be removed with the next release, so no need to
try to optimize it...
-Thue
|
|