[dmd-internals] [D-Programming-Language/dmd] 89fce8: CTFE: Refactor array length assignment into a new ...

GitHub noreply at github.com
Mon Oct 29 01:51:47 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 89fce80408985c17f611671c76e5a2bd6cc1a9ec
      https://github.com/D-Programming-Language/dmd/commit/89fce80408985c17f611671c76e5a2bd6cc1a9ec
  Author: Don Clugston <don.clugston at sociomantic.com>
  Date:   2012-10-26 (Fri, 26 Oct 2012)

  Changed paths:
    M src/ctfe.h
    M src/ctfeexpr.c
    M src/interpret.c

  Log Message:
  -----------
  CTFE: Refactor array length assignment into a new function


  Commit: 70f22dcdb06bfe1fd34979f62a0225aea38775d3
      https://github.com/D-Programming-Language/dmd/commit/70f22dcdb06bfe1fd34979f62a0225aea38775d3
  Author: Don Clugston <don.clugston at sociomantic.com>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M src/ctfeexpr.c

  Log Message:
  -----------
  CTFE: Reduce memory use for arr.length=n

If arr was a slice, the slice was duplicated and then discarded.


  Commit: e76704b443f9c6430376d8a61e7ee1fe2e116348
      https://github.com/D-Programming-Language/dmd/commit/e76704b443f9c6430376d8a61e7ee1fe2e116348
  Author: Daniel Murphy <yebblies at gmail.com>
  Date:   2012-10-29 (Mon, 29 Oct 2012)

  Changed paths:
    M src/ctfe.h
    M src/ctfeexpr.c
    M src/interpret.c

  Log Message:
  -----------
  Merge pull request #1228 from donc/ctfe_speedup_arrayextend

CTFE: reduce memory use for arr.length = n


Compare: https://github.com/D-Programming-Language/dmd/compare/49e44694b483...e76704b443f9


More information about the dmd-internals mailing list