If multiple ifs are too slow in determining which interval a value is in:

Depending on how large a universe of possible values you have, it might be 
quicker to build in advance a table of all those values, one interval's worth 
per line, and use wholeMatches true and lineOffset to determine which 
interval you're in.  If the intervals are all the same size, some sort of 
arithmetic-and-rounding function might process the original values, and 
compare them with an abbreviated table.

David Epstein
 
_______________________________________________
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Reply via email to