Function1 could use faster searching in input is sorted
If the table is sorted in increasing order we could use a binary search (e.g. ListOps::findLower) to speed up interpolation.
If the table is sorted in increasing order we could use a binary search (e.g. ListOps::findLower) to speed up interpolation.