[Numpy-svn] [numpy/numpy] 70de8a: ENH: Avoiding conversion of integer to NumPy Scala...

GitHub noreply@github....
Mon Sep 2 11:07:51 CDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 70de8aa2b3a3b300c6a858cbdbb9226ce46591e1
      https://github.com/numpy/numpy/commit/70de8aa2b3a3b300c6a858cbdbb9226ce46591e1
  Author: Arink Verma <arinkverma@gmail.com>
  Date:   2013-08-29 (Thu, 29 Aug 2013)

  Changed paths:
    M numpy/core/src/scalarmathmodule.c.src
    M numpy/core/tests/test_scalarmath.py

  Log Message:
  -----------
  ENH: Avoiding conversion of integer to NumPy Scalar.
There is a bottleneck in scalar operations, when trying to extract the
underlying C value from a Python integer/float. I have avoid conversion
for know integer type but extracting its value.


  Commit: 79342d5993168a5e43d57924bb3fa75a4fa3ec01
      https://github.com/numpy/numpy/commit/79342d5993168a5e43d57924bb3fa75a4fa3ec01
  Author: Arink Verma <arinkverma@gmail.com>
  Date:   2013-08-29 (Thu, 29 Aug 2013)

  Changed paths:
    M numpy/core/src/scalarmathmodule.c.src

  Log Message:
  -----------
  Extracting longlong value without converting it to NyType


  Commit: 9c7ef03df6ae9553149d26ba5d367bd94b0489fd
      https://github.com/numpy/numpy/commit/9c7ef03df6ae9553149d26ba5d367bd94b0489fd
  Author: Arink Verma <arinkverma@gmail.com>
  Date:   2013-08-29 (Thu, 29 Aug 2013)

  Changed paths:
    M numpy/core/tests/test_scalarmath.py

  Log Message:
  -----------
  Moved int test cases to pr#3592


  Commit: 7b415b26f4a1d58164a69ef44fb501fbd93e666f
      https://github.com/numpy/numpy/commit/7b415b26f4a1d58164a69ef44fb501fbd93e666f
  Author: Arink Verma <arinkverma@gmail.com>
  Date:   2013-08-29 (Thu, 29 Aug 2013)

  Changed paths:
    M numpy/core/src/scalarmathmodule.c.src

  Log Message:
  -----------
  Added PyInt_CheckExact for python < 3 and error check for PyLong_AsLong


  Commit: d334dbd400964515bb392f3f9d7978d0ddb2a9a6
      https://github.com/numpy/numpy/commit/d334dbd400964515bb392f3f9d7978d0ddb2a9a6
  Author: Arink Verma <arinkverma@gmail.com>
  Date:   2013-08-29 (Thu, 29 Aug 2013)

  Changed paths:
    M numpy/core/src/scalarmathmodule.c.src

  Log Message:
  -----------
  Replaced PyInt_As_Long with PyInt_AsLong and  errorchecking


  Commit: 7ed2c9bfdcd2eded4c42ec485cce8e6e3a69308c
      https://github.com/numpy/numpy/commit/7ed2c9bfdcd2eded4c42ec485cce8e6e3a69308c
  Author: Arink Verma <arinkverma@gmail.com>
  Date:   2013-08-30 (Fri, 30 Aug 2013)

  Changed paths:
    M numpy/core/src/scalarmathmodule.c.src

  Log Message:
  -----------
  Check for error value by PyLong_AsUnsignedLong as (unsigned long)-1


  Commit: de9f1c92d3ca0920bce915438f0406f587aa98db
      https://github.com/numpy/numpy/commit/de9f1c92d3ca0920bce915438f0406f587aa98db
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-09-02 (Mon, 02 Sep 2013)

  Changed paths:
    M numpy/core/src/scalarmathmodule.c.src

  Log Message:
  -----------
  Merge pull request #3567 from arinkverma/avoid_conversion

ENH: Avoiding conversion of integer to NumPy Scalar.


Compare: https://github.com/numpy/numpy/compare/d958dec676be...de9f1c92d3ca


More information about the Numpy-svn mailing list