[Numpy-svn] [numpy/numpy] a486a6: ENH: copy ndarrays if they are encountered in setA...

GitHub noreply at github.com
Mon Sep 9 16:43:17 EDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: a486a6bae0580072b3b65771f30bf25c798dc38c
      https://github.com/numpy/numpy/commit/a486a6bae0580072b3b65771f30bf25c798dc38c
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2013-09-07 (Sat, 07 Sep 2013)

  Changed paths:
    M numpy/core/src/multiarray/ctors.c
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  ENH: copy ndarrays if they are encountered in setArrayFromSequence

By avoiding the elementwise copy array([a,b,c]) is now as
fast as vstack([a,b,c])


  Commit: 72d238271e52d4c2b2fd359ad7eb705cb2f25ee6
      https://github.com/numpy/numpy/commit/72d238271e52d4c2b2fd359ad7eb705cb2f25ee6
  Author: njsmith <njs at pobox.com>
  Date:   2013-09-09 (Mon, 09 Sep 2013)

  Changed paths:
    M numpy/core/src/multiarray/ctors.c
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  Merge pull request #3696 from juliantaylor/copy-array-create

ENH: copy ndarrays if they are encountered in setArrayFromSequence


Compare: https://github.com/numpy/numpy/compare/b768db806ea0...72d238271e52


More information about the Numpy-svn mailing list