We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db2d414 commit 67ff171Copy full SHA for 67ff171
doc/whats-new.rst
@@ -41,6 +41,12 @@ Breaking changes
41
Deprecations
42
~~~~~~~~~~~~
43
44
+Performance
45
+~~~~~~~~~~~
46
+- Optimize alignment with ``join="exact", copy=False`` by avoiding copies. (:pull:`7736`)
47
+ By `Deepak Cherian <https://github.com/dcherian>`_.
48
+- Avoid unnecessary copies of ``CFTimeIndex``. (:pull:`7735`)
49
50
51
Bug fixes
52
~~~~~~~~~
xarray/core/alignment.py
@@ -574,6 +574,8 @@ def align(self) -> None:
574
575
if self.join == "override":
576
self.override_indexes()
577
+ elif self.join == "exact" and not self.copy:
578
+ self.results = self.objects
579
else:
580
self.reindex_all()
581
0 commit comments