Skip to content

epic: Refactor rollback synchronizer#487

Merged
elementbound merged 7 commits intomainfrom
epic/refactor-rollback-synchronizer
Aug 12, 2025
Merged

epic: Refactor rollback synchronizer#487
elementbound merged 7 commits intomainfrom
epic/refactor-rollback-synchronizer

Conversation

@elementbound
Copy link
Copy Markdown
Contributor

Closes #358

elementbound and others added 7 commits August 11, 2025 23:42
Refs #358

---------

Co-authored-by: Dustie <77035922+DustieDog@users.noreply.github.com>
Removes the property paths from the sent state and input data. Instead:
- SnapshotHistoryEncoder: For full states, simply send an array of
values - 104 bytes -> 48 bytes
- DiffHistoryEncoder: For diff states, send a single byte property index
and then property value - 44 bytes -> ~~28~~ 32 bytes
- RedundantHistoryEncoder: Send a flattened array of input values - 248
bytes -> 80 bytes

Refs #358
Closes #159
@elementbound elementbound force-pushed the epic/refactor-rollback-synchronizer branch from b4ccfdf to e1f9b9e Compare August 11, 2025 22:00
@elementbound elementbound merged commit 222ea5c into main Aug 12, 2025
2 checks passed
@elementbound elementbound deleted the epic/refactor-rollback-synchronizer branch September 15, 2025 20:59
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.

Refactor RollbackSynchronizer

1 participant