Correctly reserve the grid data dtype by converting ctypes array to numpy array with np.ctypeslib.as_array #3446
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
Sep 23, 2024 in 0s
Performance Gate Passed
Summary
⚡ 2
improvements
✅ 99
untouched benchmarks
Benchmarks breakdown
Benchmark | main |
ctypesarray |
Change | |
---|---|---|---|---|
⚡ | test_sph2grd_no_outgrid |
323.6 ms | 289.1 ms | +11.95% |
⚡ | test_sphinterpolate_no_outgrid |
71.2 ms | 39 ms | +82.61% |
Loading