[Freeciv-Dev] Re: (PR#8754) effects patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] Re: (PR#8754) effects patch |
From: |
"Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx> |
Date: |
Sun, 25 Jul 2004 07:59:25 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8754 >
On Sat, 24 Jul 2004, Jason Short wrote:
>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8754 >
>
> In the network code, why do you replace the effects array with a
> separate packet for each effect? Is there a reason the individual
For all sorts of reasons.
> packets are better (e.g., the array would be sparse) or do you just not
Yes, the array is sparse.
> like using dataio functions for sending struct arrays (which is ugly)?
Yeah, I don't like having to manually code my own struct packing
and unpacking functions just for this special case. It doesn't add
anything worthwhile and increases the maintenance burden.
> Why is PACKET_RULESET_CACHE_EFFECT called that? It looks to me like
> it's not a cache, it's just the effect...
It's an Effect in the Ruleset Cache. Hm, but yeah, I suppose I could just
call it effect. They aren't stored anywhere else...
---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
- [Freeciv-Dev] Re: (PR#8754) effects patch, (continued)
- [Freeciv-Dev] Re: (PR#8754) effects patch, Vasco Alexandre da Silva Costa, 2004/07/21
- [Freeciv-Dev] Re: (PR#8754) effects patch, Vasco Alexandre da Silva Costa, 2004/07/21
- [Freeciv-Dev] Re: (PR#8754) effects patch, Jason Short, 2004/07/21
- [Freeciv-Dev] Re: (PR#8754) effects patch, Billy Naylor, 2004/07/23
- [Freeciv-Dev] Re: (PR#8754) effects patch, Vasco Alexandre da Silva Costa, 2004/07/23
- [Freeciv-Dev] (PR#8754) effects patch, Vasco Alexandre da Silva Costa, 2004/07/24
- [Freeciv-Dev] Re: (PR#8754) effects patch, Jason Short, 2004/07/25
- [Freeciv-Dev] (PR#8754) effects patch, Gregory Richards, 2004/07/25
- [Freeciv-Dev] Re: (PR#8754) effects patch, Jason Short, 2004/07/25
- [Freeciv-Dev] Re: (PR#8754) effects patch, Vasco Alexandre da Silva Costa, 2004/07/25
- [Freeciv-Dev] Re: (PR#8754) effects patch,
Vasco Alexandre da Silva Costa <=
- [Freeciv-Dev] Re: (PR#8754) effects patch, Billy Naylor, 2004/07/26
- [Freeciv-Dev] Re: (PR#8754) effects patch, Mike Kaufman, 2004/07/26
- [Freeciv-Dev] Re: (PR#8754) effects patch, Per I. Mathisen, 2004/07/26
- [Freeciv-Dev] (PR#8754) eff beta6: missing req_type, etc, Per I. Mathisen, 2004/07/26
- [Freeciv-Dev] Re: (PR#8754) eff beta6: missing req_type, etc, Vasco Alexandre da Silva Costa, 2004/07/27
- [Freeciv-Dev] Re: (PR#8754) eff beta6: missing req_type, etc, Per I. Mathisen, 2004/07/27
- [Freeciv-Dev] Re: (PR#8754) eff beta6: missing req_type, etc, Vasco Alexandre da Silva Costa, 2004/07/27
|
|