Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas
Home

[Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Mon, 4 Nov 2002 12:44:07 +0000 (GMT)

On Mon, 4 Nov 2002, Per I. Mathisen wrote:
> Then packets.h like this

I forgot: We can also use cpp during compile to autogenerate packets.h so
that the C structs are visible to casual programmers who don't know the
network macro magic, but this leads to the danger of such programmers
editing these structs...

> A way to keep the CPU savings is to make the generated function
> recursive...

Or split it up into two functions and generate the additional function by
another pass over packets.h.in. Simpler but more function calls.

  - Per



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