Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2002:
[Freeciv-Dev] Re: [Patch] Bool cleanup of options.c
Home

[Freeciv-Dev] Re: [Patch] Bool cleanup of options.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxxxxxxx
Cc: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [Patch] Bool cleanup of options.c
From: Ben Webb <ben@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 7 Mar 2002 11:00:14 +0000 (GMT)

On Wed, 6 Mar 2002, Raimar Falke wrote:

> This and the next patch about stdinhand.c are the last ones. Then it
> should for example be safe to change the type of bool from int to
> char. I'm anxious to know which one is faster.

        I'd be surprised[*] if char were faster than int, but it'd be 
interesting to see this nonetheless.

[*] For example, glib uses "int" as their gboolean type, and I'm (perhaps 
    foolishly) assuming they've looked into this kind of thing.

        Ben
-- 
ben@xxxxxxxxxxxxxxxxxxxxxx           http://bellatrix.pcl.ox.ac.uk/~ben/
"Never was a cornflake girl / Thought that was a good solution"



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