Merge pull request #3396 from teerthsharma:topo/linear-island-scratch

PiperOrigin-RevId: 951110709
Change-Id: I0c9c96365a5667172c1d676026ab797b7f8e8137
This commit is contained in:
Copybara-Service
2026-07-20 16:16:35 -07:00
4 changed files with 652 additions and 95 deletions
+2
View File
@@ -48,6 +48,8 @@ Engine
as originally guarded by ``ngravcomp``. Since the engine uses these integers as flags (zero vs. non-zero), the new
flags are honest boolean properties, writeable from the Python bindings at runtime. The field ``ngravcomp`` is
deprecated and will be removed in a future release.
- Replaced quadratic scratch in DFS flood-fill island discovery with a linear-memory Union-Find (disjoint set).
Contribution by :github:user:`teerthsharma`.
.. admonition:: Breaking API changes
:class: attention