Commit 4eb96c3
authored
v0.3.5: Use dynamic arrays instead of static arrays for circuit data (#1233)
* Reenable circuits
* Modify types to contain pointers instead of static arrays
* Modify layout for circuit types
* Implement dynamic array for `init_circuit_data`
* Implement dynamic arrays for add_input
* Implement dynamic arrays for circuit
* Implement dynamic for get_output
* Fix add_input to use the correct pointer
* Alloc space for full circuit data at the start (includign last element)
* Fix gep when creating outputs array
* Ignore code examples
* Implement dup and drop overrides for circuit types
* Drop circuit_data on eval_circuit libfunc
* Drop circuit outputs on get_output
* Improve circuit type documentation
* Rename dup_array to build_array_dup1 parent c738a3a commit 4eb96c3
File tree
4 files changed
+441
-236
lines changed- .github/workflows
- src
- libfuncs
- types
- tests/tests
4 files changed
+441
-236
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | 155 | | |
157 | 156 | | |
158 | 157 | | |
| |||
184 | 183 | | |
185 | 184 | | |
186 | 185 | | |
187 | | - | |
188 | 186 | | |
189 | 187 | | |
190 | 188 | | |
| |||
0 commit comments