Commit 11b7131
committed
perf: add HEDLEY_PURE to o_val and o_len accessors
o_val and o_len are stateless field accessors with no side effects.
Annotating them as HEDLEY_PURE lets the compiler CSE repeated calls
in hot loops, particularly o_len in ZK witness generation paths.1 parent 6ca7482 commit 11b7131
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
373 | | - | |
| 372 | + | |
| 373 | + | |
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| |||
0 commit comments