D-Programming-Language/phobos — pull request #731 by monarchdodra (2012-07-31 10:04:37+00:00)
Title: Fixes in std algorithm

*Merged & Squashed*

This is the same pull request as before, from a newer cleaner parallel branch, with a single commit.

*Tuning of map for "opIndex", "opSlice"
*map "length" does not check isSomeString, since "hasLength" is enough => maps of dstrings are indexable
*Fill is more efficient, accepts infinite inpute length
*adjacentFind: Correctly saves
*minCount: Using value types (and not reference types). Throws on empty range
*minPos: Correcttly saves
*equal: More efficient implementation

*New reference type ranges, for more thorough unit tests.
*Unit tests for all the above