> Sorry, yes, I introduces a few bools. I'll be happy to 
> replace them with char.

Well... char may be a poor choice here; on a lot of modern CPU's (and
particularly ARM cores for example) it is often more expensive to access
a char than a int32, and does not save any memory because the alignment
is forced to 32 (or even 64!) bit anyway.

So, for a "fast and light" implementation, it is possible that some sort
of int is a better bet than a char.

YMMV.

-- 
Ian



SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to