RangeLookupTable improvements: binary search and simpler API
mbedward opened this issue · comments
Michael Bedward commented
Add a comparator for LookupItems and have RangeLookupTable order its items by source value range upon construction. Then use binary search when matching source values to items.
Remove default value from the table and just provide a single query method that returns a LookupItem.
Michael Bedward commented
Improvements included in version 1.3.1