Skip to content

Simplify dynamic array allocation in CBMC harnesses#102

Draft
nberth wants to merge 3 commits intoOCamlPro:mainfrom
nberth:simplify-cbmc-dynamic-array-alloc
Draft

Simplify dynamic array allocation in CBMC harnesses#102
nberth wants to merge 3 commits intoOCamlPro:mainfrom
nberth:simplify-cbmc-dynamic-array-alloc

Conversation

@nberth
Copy link
Copy Markdown
Collaborator

@nberth nberth commented Apr 16, 2026

Constrained arrays are now initialized using a switch instead of a cascading conditional. This appears to improve performance on tests potentially large arrays.

Includes some cleanup done in passing.

@nberth nberth force-pushed the simplify-cbmc-dynamic-array-alloc branch 2 times, most recently from 62acd87 to 92fdc09 Compare April 16, 2026 11:45
@nberth nberth force-pushed the simplify-cbmc-dynamic-array-alloc branch from 84d7ee8 to e0020af Compare April 16, 2026 15:42
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