compound if alternatives (Wil Dijkstra)
depstein at att.net
depstein at att.net
Mon Jan 26 15:26:13 EST 2004
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
More information about the metacard
mailing list