Skip to content

fix: reuse single tree snapshot in get_state#397

Open
MozirDmitriy wants to merge 1 commit intoNousResearch:mainfrom
MozirDmitriy:fix/managed-server-tree-state-alias
Open

fix: reuse single tree snapshot in get_state#397
MozirDmitriy wants to merge 1 commit intoNousResearch:mainfrom
MozirDmitriy:fix/managed-server-tree-state-alias

Conversation

@MozirDmitriy
Copy link

In tree mode, get_state() was creating two separate dictionary copies for sequences and tree on every call, even though tree is documented as a compatibility alias. This caused unnecessary allocations and made alias semantics inconsistent.

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