Skip to content

NodeBuilder: Use .nodes as Set instead of Array - #33664

Merged
sunag merged 1 commit into
mrdoob:devfrom
sunag:dev-nodebuilder-set
May 29, 2026
Merged

sunag merged 1 commit into
mrdoob:devfrom
sunag:dev-nodebuilder-set

Conversation

@sunag

@sunag sunag commented May 28, 2026

Copy link
Copy Markdown
Collaborator

Related issue: #33656 (comment)

Description

Use .nodes as Set instead of Array

@sunag sunag added this to the r185 milestone May 28, 2026
@github-actions

Copy link
Copy Markdown

πŸ“¦ Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 365.43
86.79
365.43
86.79
+0 B
+0 B
WebGPU 661.52
182.6
661.52
182.61
-6 B
+4 B
WebGPU Nodes 659.56
182.3
659.56
182.31
-6 B
+4 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Before After Diff
WebGL 498.49
121.58
498.49
121.58
+0 B
+0 B
WebGPU 732.76
197.43
732.76
197.43
-6 B
+8 B
WebGPU Nodes 681.98
184.83
681.98
184.84
-6 B
+8 B

@sunag
sunag marked this pull request as ready for review May 29, 2026 00:53
@sunag
sunag merged commit c93aefa into mrdoob:dev May 29, 2026
14 of 15 checks passed
@sunag
sunag deleted the dev-nodebuilder-set branch May 29, 2026 00:53
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