Skip to content

plans cross once - #102

Open
Nic-Polumeyv wants to merge 2 commits into
executorfrom
handle
Open

plans cross once#102
Nic-Polumeyv wants to merge 2 commits into
executorfrom
handle

Conversation

@Nic-Polumeyv

Copy link
Copy Markdown
Owner

Before, every Source carried the plan text across the boundary: a 95 KB encode and copy per component, then a text compare against the cache on the Rust side, more than a small component costs to parse. Now the consumer reads the plan once, new Plan(text), and passes the handle: new Source(text, { host: plan }). Under wasm a plan survives an engine restart, its text is read again by the fresh instance.

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