home / github / pull_requests

Menu
  • GraphQL API
  • Search all tables

pull_requests: 1586558819

This data as json

id node_id number state locked title user body created_at updated_at closed_at merged_at merge_commit_sha assignee milestone draft head base author_association auto_merge repo url merged_by
1586558819 PR_kwDOAMm_X85ekPdj 8412 closed 0 Minimize duplication in `map_blocks` task graph 2448579 Builds on #8560 - [x] Closes #8409 - [x] Tests added - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst` cc @max-sixty ``` print(len(cloudpickle.dumps(da.chunk(lat=1, lon=1).map_blocks(lambda x: x)))) # 779354739 -> 47699827 print(len(cloudpickle.dumps(da.chunk(lat=1, lon=1).drop_vars(da.indexes).map_blocks(lambda x: x)))) # 15981508 ``` This is a quick attempt. I think we can generalize this to minimize duplication. The downside is that the graphs are not totally embarrassingly parallel any more. This PR: ![image](https://github.com/pydata/xarray/assets/2448579/6e10d00a-53d5-42b9-8564-2008c6b65fbb) vs main: ![image](https://github.com/pydata/xarray/assets/2448579/cb0c8c56-e636-45c5-9c0e-b37c64ed0c04) 2023-11-03T18:30:02Z 2024-01-03T04:10:17Z 2024-01-03T04:10:15Z 2024-01-03T04:10:15Z d87ba61c957fc3af77251ca6db0f6bccca1acb82     0 3989c089f0eb9a9bfdcd95174ebb1e28bbe4b846 41d33f52f709a765fb0dbfb5b9b4f5ea55173053 MEMBER   13221727 https://github.com/pydata/xarray/pull/8412  

Links from other tables

  • 2 rows from pull_requests_id in labels_pull_requests
Powered by Datasette · Queries took 0.609ms