Skip to content

[OPT] V1 half the time#51

Merged
Leguark merged 4 commits intomainfrom
optimize
Mar 20, 2026
Merged

[OPT] V1 half the time#51
Leguark merged 4 commits intomainfrom
optimize

Conversation

@Leguark
Copy link
Member

@Leguark Leguark commented Mar 13, 2026

[OPT] V1 half the time

[OPT] Replace GPU-based surface intersection with optimized multi-core CPU implementation

[ENH] Add multi-core parallelization for dual contouring surface processing

  • Introduced ThreadPoolExecutor to enable parallel processing of surfaces in compute_dual_contouring_v2.
  • Added max_workers parameter for configurable thread pool size.
  • Improved performance by replacing sequential processing with concurrent execution.

[ENH] Refactor dual contouring with enhanced parallelism and optimized vertex handling

  • Added ThreadPoolExecutor for multi-threaded fault-overlap triangle removal.
  • Optimized _average_overlapping_vertices for improved watertightness with vectorized logic.
  • Refined surface processing with improved parallelism and redundant code cleanup.

Copy link
Member Author

Leguark commented Mar 13, 2026

Copy link
Member Author

Leguark commented Mar 20, 2026

Merge activity

  • Mar 20, 10:28 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Mar 20, 10:29 AM UTC: Graphite rebased this pull request as part of a merge.
  • Mar 20, 10:41 AM UTC: @Leguark merged this pull request with Graphite.

@Leguark Leguark changed the base branch from graphite-base/51 to main March 20, 2026 10:28
Leguark added 4 commits March 20, 2026 10:29
…essing

- Introduced `ThreadPoolExecutor` to enable parallel processing of surfaces in `compute_dual_contouring_v2`.
- Added `max_workers` parameter for configurable thread pool size.
- Improved performance by replacing sequential processing with concurrent execution.
…d vertex handling

- Added `ThreadPoolExecutor` for multi-threaded fault-overlap triangle removal.
- Optimized `_average_overlapping_vertices` for improved watertightness with vectorized logic.
- Refined surface processing with improved parallelism and redundant code cleanup.
@Leguark Leguark merged commit 77dc81b into main Mar 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant