[phobos] [D-Programming-Language/phobos] ffd375: std.md5: Lower buffer size in mdFile example

GitHub noreply at github.com
Sun May 6 00:58:00 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: ffd3752a2ee242b79a1b10c5c9402a1674638da2
      https://github.com/D-Programming-Language/phobos/commit/ffd3752a2ee242b79a1b10c5c9402a1674638da2
  Author: Vladimir Panteleev <vladimir at thecybershadow.net>
  Date:   2012-03-31 (Sat, 31 Mar 2012)

  Changed paths:
    M std/md5.d

  Log Message:
  -----------
  std.md5: Lower buffer size in mdFile example

When trying to use the function from the example as-is on a large
directory tree, the D program will quickly run out of memory due
to false pointers on 32-bit machines (File.byChunk will allocate
a new buffer for every file).


  Commit: ee4d7c36e8a78612e673ec27568505476a7caab3
      https://github.com/D-Programming-Language/phobos/commit/ee4d7c36e8a78612e673ec27568505476a7caab3
  Author: Jonathan M Davis <jmdavisProg at gmx.com>
  Date:   2012-05-06 (Sun, 06 May 2012)

  Changed paths:
    M std/md5.d

  Log Message:
  -----------
  Merge pull request #514 from CyberShadow/std-md5-example-bufsize

std.md5: Lower buffer size in mdFile example


Compare: https://github.com/D-Programming-Language/phobos/compare/cf2edb6...ee4d7c3


More information about the phobos mailing list