[D-runtime] [D-Programming-Language/druntime] 66affa: reduce excessive unittests and template bloat

GitHub via D-runtime d-runtime at puremagic.com
Thu Jul 23 05:55:43 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: 66affadf91ed6d85cf77d1a6a34795b0d83356ad
      https://github.com/D-Programming-Language/druntime/commit/66affadf91ed6d85cf77d1a6a34795b0d83356ad
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-07-23 (Thu, 23 Jul 2015)

  Changed paths:
    M src/core/time.d

  Log Message:
  -----------
  reduce excessive unittests and template bloat

- check const conversions once, instead of repeating
  this for every operation
- using a const value guarantees that the method can be
  called for mutable and immutable values as well
- 15% compile time and 10% binary size of unittest library


  Commit: c747e835cd34e9592c646938c0079a6fc5d24576
      https://github.com/D-Programming-Language/druntime/commit/c747e835cd34e9592c646938c0079a6fc5d24576
  Author: Hara Kenji <k.hara.pg+dev at gmail.com>
  Date:   2015-07-23 (Thu, 23 Jul 2015)

  Changed paths:
    M src/core/time.d

  Log Message:
  -----------
  Merge pull request #1276 from MartinNowak/master

reduce excessive unittests and template bloat


Compare: https://github.com/D-Programming-Language/druntime/compare/9575940f9f8c...c747e835cd34


More information about the D-runtime mailing list