Skip to content

Optimize public inputs extraction in bellpepper R1CS#71

Open
MozirDmitriy wants to merge 1 commit intomicrosoft:mainfrom
MozirDmitriy:main
Open

Optimize public inputs extraction in bellpepper R1CS#71
MozirDmitriy wants to merge 1 commit intomicrosoft:mainfrom
MozirDmitriy:main

Conversation

@MozirDmitriy
Copy link

Replace double Vec allocation when deriving public values from input_assignment with a single slice [1..1 + S.num_public].to_vec(). This removes an unnecessary intermediate allocation without changing semantics.

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.

2 participants