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/7382#issuecomment-1357719218,https://api.github.com/repos/pydata/xarray/issues/7382,1357719218,IC_kwDOAMm_X85Q7Say,4160723,2022-12-19T14:03:56Z,2022-12-19T14:03:56Z,MEMBER,"I don't know if the optimizations added here will benefit a large set of use cases (it took 6 months before seeing an issue report), but it is worth for at least a few of them. This is ready I think (added some benchmarks).","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1498386428 https://github.com/pydata/xarray/pull/7382#issuecomment-1353034657,https://api.github.com/repos/pydata/xarray/issues/7382,1353034657,IC_kwDOAMm_X85Qpauh,4160723,2022-12-15T13:05:55Z,2022-12-15T13:05:55Z,MEMBER,"Quick benchmark taking the example in #7376 (it seems even much faster than in version 2022.3.0!) ```python # version 2022.3.0 %timeit ds.assign(foo=~ds[""d3""]) # 22.5 ms ± 1.96 ms per loop (mean ± std. dev. of 7 runs, 100 loops each) # main branch %timeit ds.assign(foo=~ds[""d3""]) # 193 ms ± 1.35 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) # this PR %timeit ds.assign(foo=~ds[""d3""]) # 1.01 ms ± 10.7 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each) ``` ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1498386428