home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1210285626

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/issues/6904#issuecomment-1210285626 https://api.github.com/repos/pydata/xarray/issues/6904 1210285626 IC_kwDOAMm_X85II346 12760310 2022-08-10T07:41:20Z 2022-08-10T07:41:20Z NONE

Will that work in the same way if I still use process_map, which uses concurrent.futures under the hood?

Yes it should, as long as you're using multi-processing under the covers.

If you do multi-threading, then you would want to use threading.Lock(). But I believe we already apply a thread lock by default.

mmm ok I'll try and let you know.

BTW is there any advantage or difference in terms of cpu and memory consumption in opening the file only one or let it open by every process? I'm asking because I thought opening in every process was just plain stupid but it seems to perform exactly the same, so maybe I'm just creating a problem where there is none

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