Ai Lee Tang wrote:
> 
> hi all,
> 
> does anyone has an idea of doing quick search on a list. For example, i
> created a list of customer code. How to do fast searching on the list or
> even lookup?

If the list is sorted you can get the list pointer and do a binary search
on it.

Depending on the change rate of your list it might make sense to create
shadow data structures of your list for faster access. Which one, depends
on nearer circumstances of your application.

With kind regards / Mit freundlichem Gru�
    Holger Klawitter
--
Holger Klawitter
[EMAIL PROTECTED]                             http://www.klawitter.de


-- 
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