[phobos] [D-Programming-Language/phobos] 278871: fix binaryFun

GitHub via phobos phobos at puremagic.com
Sun Nov 16 19:09:31 PST 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 2788715bc589d9243b2de2d38cbb20fea135ae11
      https://github.com/D-Programming-Language/phobos/commit/2788715bc589d9243b2de2d38cbb20fea135ae11
  Author: Ilya Yaroshenko <ilyayaroshenko at gmail.com>
  Date:   2014-11-15 (Sat, 15 Nov 2014)

  Changed paths:
    M std/functional.d

  Log Message:
  -----------
  fix binaryFun

1. Make binaryFun correct for integer comparison.
2. Remove import of half of phobos for 100% cases in phobos.

`sort`, `cmp`, `find`, `startsWith`,  `sum` and other algorithms would
be compiled faster.

fix safeOp

fix safeOPs

Fix new unittest

fix binaryReverseArgs

fix not

fix new code

fix spaces after if

optimization

1. CTFE
2. Runtime (without inlining)

change condition

fix new code

fix safeOp

optimize CTFE

CTFE optimization

immutable -> enum

remove aliases

remove macros

CTFE matching

add debug info && fix not

add spaces

minor fix

added debug example

add debug unittests & fix

fix also and add unittests

fix

typo

if (!__ctfe) assert(false); added

use 01


  Commit: ea52f8eefffbab372c9e404d1b8dae1df7cc978d
      https://github.com/D-Programming-Language/phobos/commit/ea52f8eefffbab372c9e404d1b8dae1df7cc978d
  Author: H. S. Teoh <hsteoh at quickfur.ath.cx>
  Date:   2014-11-16 (Sun, 16 Nov 2014)

  Changed paths:
    M std/functional.d

  Log Message:
  -----------
  Merge pull request #2723 from 9il/binaryfun

fix binaryFun


Compare: https://github.com/D-Programming-Language/phobos/compare/39d792a8dc4f...ea52f8eefffb


More information about the phobos mailing list