Skip to content

perf: accelerate large INSERT selection and MOVE/COPY with fixed raster previews - #2065

Draft
gianlucafiore wants to merge 62 commits into
HakanSeven12:mainfrom
gianlucafiore:perf/mass-objects-only-clean-20261023
Draft

gianlucafiore wants to merge 62 commits into
HakanSeven12:mainfrom
gianlucafiore:perf/mass-objects-only-clean-20261023

Conversation

@gianlucafiore

@gianlucafiore gianlucafiore commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Performance optimizations (DRAFT)

  • Bulk COPY/PASTECLIP selection updates.
  • Indexed crossing/enclosing window selection without expanding contained INSERT geometries.
  • Incremental GPU hatch visibility uploads.
  • Experimental fixed-size bitmap ghost during huge MOVE/COPY selections, preserving DWG vector geometry.

Latest diagnosis and correction (Oct 24)

Latest user PERF: 13,608-block crossing selection: candidates 57.5ms, hit 48ms, apply 10.9ms (large selection improvement). MOVE still: command-raster-setup selected=13608 wires=82419 active=false and each frame full-scene direct-overlay=false with 82,421 wires. The mass-preview-reject logs were absent, meaning the capture likely failed downstream. Corrected raster extent handling: solid_f64-derived extent outlines can have sentinel cached AABBs, so derive bounds from outline vertices when AABB is invalid. Added explicit raster-reject logs for missing extent, invalid bounds, or zero segments.

NOT YET VERIFIED: compilation and visual performance on user DWG pending. Draft, do not merge. No dynamic-block changes.

@gianlucafiore gianlucafiore changed the title perf: improve responsiveness with large repeated-block drawings perf: batch selection and incremental hatch visibility uploads for large drawings Oct 23, 2026
@gianlucafiore gianlucafiore changed the title perf: batch selection and incremental hatch visibility uploads for large drawings perf: optimize large crossing selections, batch paste selection and hatch visibility Oct 23, 2026
@gianlucafiore gianlucafiore changed the title perf: optimize large crossing selections, batch paste selection and hatch visibility perf: optimize heavy block selection, GPU hatch visibility and transform previews Oct 23, 2026
@gianlucafiore gianlucafiore changed the title perf: optimize heavy block selection, GPU hatch visibility and transform previews perf: accelerate large INSERT selection and MOVE/COPY with fixed raster previews Oct 23, 2026

This branch has not been deployed

No deployments
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