Skip to content

Benchmark framework#121

Draft
moseschmiedel wants to merge 74 commits intomainfrom
benchmark-framework
Draft

Benchmark framework#121
moseschmiedel wants to merge 74 commits intomainfrom
benchmark-framework

Conversation

@moseschmiedel
Copy link
Copy Markdown
Collaborator

No description provided.

When doing batch operations it is more efficient to `memcpy` the whole component data array from the old archetype to the new archetype, instead of copying every component instance one by one.
StaticVariant can model a value that can have multiple types but it is known at compile-time which type will be used.
It may be helpful to think of it as the Variant type from stdlib, but resolved completely at compile-time.
@moseschmiedel moseschmiedel force-pushed the batch-replace branch 2 times, most recently from f6ea307 to c167706 Compare October 7, 2025 14:19
@moseschmiedel moseschmiedel force-pushed the batch-replace branch 2 times, most recently from a19bdcc to 1af8573 Compare February 8, 2026 22:48
Base automatically changed from batch-replace to main April 16, 2026 10:16
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