[phobos] [D-Programming-Language/phobos] 4f598f: std.path: Added more function attributes

GitHub noreply at github.com
Tue May 1 19:53:19 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 4f598ffcb09b374a6088877b67444c2f02c6af3e
      https://github.com/D-Programming-Language/phobos/commit/4f598ffcb09b374a6088877b67444c2f02c6af3e
  Author: Lars T. Kyllingstad <git at kyllingen.net>
  Date:   2012-04-30 (Mon, 30 Apr 2012)

  Changed paths:
    M std/path.d

  Log Message:
  -----------
  std.path: Added more function attributes

Improvements in the compiler have made it possible to fix some old
TODOs.


  Commit: 6813b56d9f357c11ea7d45c5e35b59daa6ed944a
      https://github.com/D-Programming-Language/phobos/commit/6813b56d9f357c11ea7d45c5e35b59daa6ed944a
  Author: Lars T. Kyllingstad <git at kyllingen.net>
  Date:   2012-04-30 (Mon, 30 Apr 2012)

  Changed paths:
    M std/path.d

  Log Message:
  -----------
  More consistent std.path docs

Specifically, the documentation for all functions is now written in
descriptive rather than imperative form.


  Commit: a0cb29e077f0b17106ff471462ee1869c6715d28
      https://github.com/D-Programming-Language/phobos/commit/a0cb29e077f0b17106ff471462ee1869c6715d28
  Author: Lars T. Kyllingstad <git at kyllingen.net>
  Date:   2012-05-01 (Tue, 01 May 2012)

  Changed paths:
    M std/path.d

  Log Message:
  -----------
  std.path: Note all memory allocations in docs

Most functions represent simple and cheap string-slicing operations.  In
some cases, however, new memory must be allocated, and this increases
the cost of the operation by orders of magnitude.  As some of these
cases may not be very obvious, I think it is best they are explicitly
mentioned in the documentation.


  Commit: c98ef582185ef099f720904366dd0b4cb8a38fcb
      https://github.com/D-Programming-Language/phobos/commit/c98ef582185ef099f720904366dd0b4cb8a38fcb
  Author: David Simcha <dsimcha at gmail.com>
  Date:   2012-05-01 (Tue, 01 May 2012)

  Changed paths:
    M std/path.d

  Log Message:
  -----------
  Merge pull request #558 from kyllingstad/std-path-improvements

std.path improvements


Compare: https://github.com/D-Programming-Language/phobos/compare/17c1e3f...c98ef58


More information about the phobos mailing list