Box the largest message and update payloads

This commit is contained in:
Dennis Kobert
2026-09-09 15:39:37 +00:00
parent 5356a9fe7e
commit 362b54dafa
12 changed files with 46 additions and 36 deletions

View File

@@ -47,7 +47,7 @@ pub struct CompilationResponse {
}
pub enum NodeGraphUpdate {
ExecutionResponse(ExecutionResponse),
ExecutionResponse(Box<ExecutionResponse>),
CompilationResponse(CompilationResponse),
EyedropperPreview(Raster<CPU>),
NodeGraphUpdateMessage(NodeGraphUpdateMessage),
@@ -368,7 +368,7 @@ impl NodeGraphExecutor {
responses: existing_responses,
vector_modify,
inspect_result,
} = execution_response;
} = *execution_response;
while let Some(&(queued_execution_id, _)) = self.futures.front() {
if queued_execution_id < execution_id {