Commit e3b3f6d
committed
perf(stark): move per-table Challenges coeffs instead of cloning (batched verifier)
Parity-sweep follow-up to the batched g·z OOD pruning. `batched_verify_round_4`
built `boundary_coeffs_all`, `transition_coeffs_all`, the pruned
`trace_term_coeffs` grid and `gammas_all`, then index-CLONED each into every
table's `Challenges` — but those vectors are never read again afterward. Move
them via `izip!` instead; only `z` (one field element) and the shared
`rap_challenges` are still cloned per table. Removes a per-table clone of the
DEEP trace-term coefficient grid, which matters most on the guest-side
recursion verifier. Behavior-preserving (identical values); stark suite 225
passing.1 parent 6bc7bdb commit e3b3f6d
1 file changed
Lines changed: 18 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2036 | 2036 | | |
2037 | 2037 | | |
2038 | 2038 | | |
2039 | | - | |
2040 | | - | |
| 2039 | + | |
| 2040 | + | |
| 2041 | + | |
| 2042 | + | |
| 2043 | + | |
| 2044 | + | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
2041 | 2050 | | |
2042 | | - | |
2043 | | - | |
2044 | | - | |
2045 | | - | |
| 2051 | + | |
| 2052 | + | |
| 2053 | + | |
| 2054 | + | |
2046 | 2055 | | |
2047 | 2056 | | |
2048 | 2057 | | |
2049 | 2058 | | |
2050 | | - | |
2051 | | - | |
| 2059 | + | |
| 2060 | + | |
| 2061 | + | |
2052 | 2062 | | |
2053 | 2063 | | |
2054 | 2064 | | |
| |||
0 commit comments