Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] Re: (PR#11571) What is the target_type for?
Home

[Freeciv-Dev] Re: (PR#11571) What is the target_type for?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#11571) What is the target_type for?
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Fri, 17 Dec 2004 10:31:50 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11571 >

On Fri, 17 Dec 2004, Jason Short wrote:

>
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=11571 >
>
> I am confused about the target_type used for effects and reqs.
>
...
>
> The attached patch removes the target enum entirely.  There are no ill
> effects that I can see.  But I'm not entirely certain of it.

This patch will make the effects code even slower. IIRC
count_sources_in_range() is the main bottleneck of the effects code.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#11571) What is the target_type for?, Vasco Alexandre da Silva Costa <=