[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]
On Mon, Nov 04, 2002 at 10:04:50PM +0000, Per I. Mathisen wrote:
> On Mon, 4 Nov 2002, Raimar Falke wrote:
> > > Maybe not, I am not sure. But at least you do not require freeciv coders
> > > to know Python... and a programming language you don't know is never
> > > pretty.
> > >
> > > > The disadvantage I see is that you can't look at the output.
> > >
> > > gcc -E | more, no problem.
> >
> > Have you looked at the output?
>
> Many times. If you are careful with where you put comments, keep includes
> to an absolute minimum and avoid system headers (which is possible here),
> then the output will be nice and clean.
I will produce a solution with a python generator and if you want to
implement another solution feel free.
> > > Apart from bools, do we really waste so many bits for the other types?
>
> > If I calculated correctly this are 47bits = 6byte by 26
> > bytes+6bits=27bytes total. This is 22% reduction.
>
> And x > 0% reduction in speed. I suppose bit shifts are cheap, but I would
> like to see some measurements here. So how about implementing without bit
> compression first, and then try that afterwards when we can measure the
> difference?
This was also my plan.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"We just typed make..."
-- Stephen Lambrigh, Director of Server Product Marketing at Informix,
about porting their Database to Linux
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, (continued)
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Per I. Mathisen, 2002/11/04
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Raimar Falke, 2002/11/04
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Per I. Mathisen, 2002/11/04
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Mike Kaufman, 2002/11/04
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Davide Pagnin, 2002/11/04
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Raimar Falke, 2002/11/04
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Jason Dorje Short, 2002/11/04
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Raimar Falke, 2002/11/04
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Raimar Falke, 2002/11/04
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Per I. Mathisen, 2002/11/04
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas,
Raimar Falke <=
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Thomas Strub, 2002/11/04
- [Freeciv-Dev] journals, Per I. Mathisen, 2002/11/11
[Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Raimar Falke, 2002/11/05
|
|