[Numpy-svn] [numpy/numpy] b9576e: ENH: improve interp() speed in some cases.

GitHub noreply at github.com
Sun Apr 1 12:31:46 EDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: b9576ed22a57cb8c7bf04038c5792bb2b499f390
      https://github.com/numpy/numpy/commit/b9576ed22a57cb8c7bf04038c5792bb2b499f390
  Author: Timo Kluck <tkluck at infty.nl>
  Date:   2012-04-01 (Sun, 01 Apr 2012)

  Changed paths:
    M numpy/lib/src/_compiled_base.c
  M numpy/lib/tests/test_function_base.py

  Log Message:
  -----------
  ENH: improve interp() speed in some cases.

The interp function was computing slopes for all intervals, even when there
were only a few points to be interpolated. Now it only does so when the
number of interpolation points exceeds the number of sample points.


  Commit: 1957cb3c3574aaecf45d1512bddc10a0bcc39639
      https://github.com/numpy/numpy/commit/1957cb3c3574aaecf45d1512bddc10a0bcc39639
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2012-04-01 (Sun, 01 Apr 2012)

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

  Log Message:
  -----------
  STY: Style cleanups in numpy/lib/tests/test_function_base.

Make imports from numpy.testing explicit.
Use np namespace.


  Commit: 044c7a670005f38f229b2da11fec9f9f4204de29
      https://github.com/numpy/numpy/commit/044c7a670005f38f229b2da11fec9f9f4204de29
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2012-04-01 (Sun, 01 Apr 2012)

  Changed paths:
    M numpy/lib/src/_compiled_base.c

  Log Message:
  -----------
  WRN: Fix compiler warnings in _compiled_base.c.


Compare: https://github.com/numpy/numpy/compare/72185d3...044c7a6


More information about the Numpy-svn mailing list