Summary: Listed complexity of reverse() is incorrect
           Product: D
           Version: 2.030
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2

--- Comment #0 from Justin Spahr-Summers <> 
2010-07-30 21:10:10 CDT ---
Really minor issue, but I noticed that the complexity of reverse() -- in terms
of calls to swap() -- is incorrect in the Phobos2 documentation. It states:

   Reverses r in-place. Performs r.length evaluations of swap.

when reversal should actually only perform, and assumably does perform,
r.length / 2 evaluations of swap().

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to