Truncate array #809
-
Hi! I have |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Do you mean that the length of the returned slice depends on pivot? Unfortunately, it is not possible - gnark allocates the arrays (i.e. the variables contained within) at compile time, when we do not yet know the value for pivot. Only during solving time (within prover) are the variables actually solved. |
Beta Was this translation helpful? Give feedback.
Do you mean that the length of the returned slice depends on pivot? Unfortunately, it is not possible - gnark allocates the arrays (i.e. the variables contained within) at compile time, when we do not yet know the value for pivot. Only during solving time (within prover) are the variables actually solved.