Skip to content

perf(vm): optimize public input buffer allocation in HarvardEmulator#579

Closed
0xlupin wants to merge 1 commit intonexus-xyz:mainfrom
0xlupin:patch-3
Closed

perf(vm): optimize public input buffer allocation in HarvardEmulator#579
0xlupin wants to merge 1 commit intonexus-xyz:mainfrom
0xlupin:patch-3

Conversation

@0xlupin
Copy link
Contributor

@0xlupin 0xlupin commented Jan 8, 2026

Replaces concat() with pre-allocated buffer when building public input with length prefix in HarvardEmulator::from_elf.

@sjudson
Copy link
Contributor

sjudson commented Jan 8, 2026

Rust should be pretty efficient under the hood here with .concat(), so going to leave this as is for now.

@sjudson sjudson closed this Jan 8, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Jan 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants