[Freeciv-Dev] Re: [Patch] Bool cleanup of options.c
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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"
|
|