[coll] nearest index match?

    Mar 15 2011 | 8:01 pm
    Hello folks!
    I am interested in finding data with the nearest index match (lower) than my query. I notice that coll returns the first record if the number does not match any currently held.
    If I have to, I will come up with a loop that decrements the query number until it no longer returns a dummy first record. This approach will work, but will be very slow as the size of the coll grows.
    Maybe coll is not the right tool for what I am trying to do, any suggestions? Thanks!

    • Mar 15 2011 | 9:04 pm
      Perhaps maintain a funbuff in parallel to the coll?
    • Mar 16 2011 | 12:40 am
      I had no idea how fun it can be, no wonder they called it that! Now all we need is funcoll.
      Thanks much. MH