diff options
author | Pauli Virtanen <pav@iki.fi> | 2013-09-22 20:47:38 +0300 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2013-09-22 20:47:38 +0300 |
commit | b7aec6035d2b2cfbcabe84e308ce3b09ea5fe540 (patch) | |
tree | 0ca738cc57392af9fedcae0da8f764b8ff723188 /numpy/lib/tests/test_regression.py | |
parent | fffeee61686e2ff3279f3d04df510330530f51f2 (diff) | |
download | numpy-b7aec6035d2b2cfbcabe84e308ce3b09ea5fe540.tar.gz |
ENH: core: add a fast path for PEP3118 buffer string parsing
The call back to Python numpy.core._internal._dtype_from_pep3118 is an
unnecessary large overhead for the most common case, when the buffer
passed in has a simple non-composite type.
This commit adds a fast path for the simple case.
Diffstat (limited to 'numpy/lib/tests/test_regression.py')
0 files changed, 0 insertions, 0 deletions