home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 916837170

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/5640#issuecomment-916837170 https://api.github.com/repos/pydata/xarray/issues/5640 916837170 IC_kwDOAMm_X842pdMy 3801015 2021-09-10T11:36:35Z 2021-09-10T11:36:35Z CONTRIBUTOR

@spencerkclark

RE perfomance.

Its only a performance issue to attempt to import cftime repeatedly. Having it fail once in the top level import is not a big problem. The issue comes when it does it thousands of times every time you try and .sel or .isel, which then adds up to a huge performance hit. Given xarray takes a while to import anyway, the marginal cost of search ing the full pythonpath 3 times in import is minimal - only an issue when done repeatedly.

I've fixed this for some other cases I've found that were causing me slowness - would like me to changeanythinng else before this can be merged?

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