[Numpy-svn] [numpy/numpy] 16a98c: ENH: performance improvement to ediff1d

GitHub noreply at github.com
Mon Oct 24 11:12:39 EDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 16a98c0efe9e09258946f8469f7b556c568f1e21
      https://github.com/numpy/numpy/commit/16a98c0efe9e09258946f8469f7b556c568f1e21
  Author: MattHarrigan <harrigan.matthew at gmail.com>
  Date:   2016-10-18 (Tue, 18 Oct 2016)

  Changed paths:
    M numpy/lib/arraysetops.py

  Log Message:
  -----------
  ENH: performance improvement to ediff1d

Eliminate a copy operation when to_begin or to_end is given.  Also
use ravel instead of flatiter which is much faster.


  Commit: 484827189756d45e6231bfd2cd3cf6db9c2993df
      https://github.com/numpy/numpy/commit/484827189756d45e6231bfd2cd3cf6db9c2993df
  Author: MattHarrigan <harrigan.matthew at gmail.com>
  Date:   2016-10-21 (Fri, 21 Oct 2016)

  Changed paths:
    M numpy/lib/tests/test_arraysetops.py

  Log Message:
  -----------
  TST: Added cases for better coverage of ediff1d


  Commit: 3bd79ab568856678139fa4d7ca272e7cbd05e1ad
      https://github.com/numpy/numpy/commit/3bd79ab568856678139fa4d7ca272e7cbd05e1ad
  Author: Stephan Hoyer <shoyer at gmail.com>
  Date:   2016-10-24 (Mon, 24 Oct 2016)

  Changed paths:
    M numpy/lib/arraysetops.py
    M numpy/lib/tests/test_arraysetops.py

  Log Message:
  -----------
  Merge pull request #8183 from mattharrigan/ediff1d-performance

Ediff1d performance


Compare: https://github.com/numpy/numpy/compare/e7d6f36de230...3bd79ab56885


More information about the Numpy-svn mailing list