>Subject: Re: Managing events
>From: "George Aslanis" <[EMAIL PROTECTED]>
>Date: Fri, 8 Jun 2001 12:22:10 -0400
>
>I have to disagree.  C programming is primarily the manipulation
>of pointers not switch statements.  Yes, all compilers have to handle
>pointers, but "C" allows the programmer to decide at what level
>they wish to develop.
>
>If events were treated as indexes into a jump table, would it not
>greatly reduce the processing of switch or if statements?

>From an academic point you are probably right, providing the event 
numbering sequence does not have lots of large gaps.

But on the Palm OS, with a tiny stack and a relatively small heap, 
the switch statement is a far better solution.

Roger Stringer
Marietta Systems, Inc.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to