Skip to content

refactor(backmp11): state machine core#224

Merged
chandryan merged 1 commit into
boostorg:developfrom
chandryan:refactor/backmp11-state-machine-core
May 28, 2026
Merged

refactor(backmp11): state machine core#224
chandryan merged 1 commit into
boostorg:developfrom
chandryan:refactor/backmp11-state-machine-core

Conversation

@chandryan
Copy link
Copy Markdown
Collaborator

Refactor core parts of the state machine back-end:

Preparation for better observer support with a single observer instance in nested machines, by providing access to members of the root machine's core without knowing its exact type.

Also resulted in re-usable event pool code in hierarchical state machines, which improved binary size and execution time. The method process_event_pool_internal(...) is not forced to be non-inline anymore, giving the compiler more freedom to optimize based on the selected build mode.

@chandryan chandryan force-pushed the refactor/backmp11-state-machine-core branch from fbd6021 to eafc678 Compare May 26, 2026 21:29
@chandryan chandryan marked this pull request as draft May 26, 2026 21:30
@chandryan chandryan force-pushed the refactor/backmp11-state-machine-core branch 4 times, most recently from e3fc87f to ec31a30 Compare May 28, 2026 20:45
@chandryan chandryan force-pushed the refactor/backmp11-state-machine-core branch from ec31a30 to 65d875d Compare May 28, 2026 21:04
@chandryan chandryan marked this pull request as ready for review May 28, 2026 21:54
@chandryan chandryan merged commit 3a2c962 into boostorg:develop May 28, 2026
24 checks passed
@chandryan chandryan deleted the refactor/backmp11-state-machine-core branch May 28, 2026 22:20
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