[Numpy-svn] [numpy/numpy] 9ff141: ENH: reduce overhead of probs check of choice

GitHub noreply at github.com
Wed Jan 22 17:58:49 EST 2014


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 9ff14157824dcfc6c78f9a23d19776c7b55dfa76
      https://github.com/numpy/numpy/commit/9ff14157824dcfc6c78f9a23d19776c7b55dfa76
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2014-01-19 (Sun, 19 Jan 2014)

  Changed paths:
    M numpy/random/mtrand/mtrand.pyx

  Log Message:
  -----------
  ENH: reduce overhead of probs check of choice

Use kahan_sum as multinomial does.
Closes gh-4188


  Commit: b0427e2b5ee0a1978453eada8a25c77c1fa2c2b6
      https://github.com/numpy/numpy/commit/b0427e2b5ee0a1978453eada8a25c77c1fa2c2b6
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2014-01-19 (Sun, 19 Jan 2014)

  Changed paths:
    M numpy/random/mtrand/mtrand.c
    M numpy/random/mtrand/mtrand.pyx

  Log Message:
  -----------
  MAINT: regenerate with cython 0.20 and fix a warning it emits

Fixed warning is "Non-trivial type declarators in shared declaration".


  Commit: 631655e66a4c6bbcd907c07ff40c8bfa342311df
      https://github.com/numpy/numpy/commit/631655e66a4c6bbcd907c07ff40c8bfa342311df
  Author: seberg <sebastian at sipsolutions.net>
  Date:   2014-01-22 (Wed, 22 Jan 2014)

  Changed paths:
    M numpy/random/mtrand/mtrand.c
    M numpy/random/mtrand/mtrand.pyx

  Log Message:
  -----------
  Merge pull request #4213 from juliantaylor/choice-improv

improve random.choice performance and regen with cython 0.20


Compare: https://github.com/numpy/numpy/compare/bc54f96e72c0...631655e66a4c


More information about the Numpy-svn mailing list