bikeshedding the polymorphic variants of Array.bsearch