D-Programming-Language/phobos — pull request #293 by dsimcha (2011-10-15 01:12:26+00:00)
Title: Make makeIndex work with all integer widths.  Also, since finite random a

Make makeIndex work with all integer widths. Also, since finite random access ranges are required to have a length now anyhow, use a more efficient method of filling the index range that doesn't require iterating over the range to be sorted.