montagejs/collections — pull request #73 by trevordixon (2014-05-16 04:01:48+00:00)
Title: Sorted set find improvements

Fixes `findGreatestLessThanOrEqual`, `findGreatestLessThan`, `findLeastGreaterThanOrEqual`, and `findLeastGreaterThan` by acknowledging that `splay` doesn't always leave the right node on top when `splay`ing a value that isn't in the set. Fixes https://github.com/montagejs/collections/issues/26.