home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1114196391

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/pull/6548#issuecomment-1114196391 https://api.github.com/repos/pydata/xarray/issues/6548 1114196391 IC_kwDOAMm_X85CaUmn 43316012 2022-05-01T10:27:52Z 2022-05-01T10:27:52Z COLLABORATOR

Some performance comparison: With 5th order polynomial and 10 x-values: old: 1.05 ms ± 15.8 µs per loop new: 1.41 ms ± 11.6 µs per loop

With 5th order polynomial and 10000 x-values: old: 1.46 ms ± 10.5 µs per loop new: 1.41 ms ± 14.5 µs per loop

With 5th order polynomial and 1mio x-values: old: 65.1 ms ± 332 µs per loop new: 6.99 ms ± 168 µs per loop

As expected for small arrays the new method creates some overhead, but for larger arrays the speedup is quite nice. Also, it uses in-place operations with much less memory usage.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  1221848774
Powered by Datasette · Queries took 0.901ms · About: xarray-datasette