jolt
jolt copied to clipboard
Draft: Implement streaming version of `BytecodePolynomials`
@moodlezoup @sragss, I've started implementing a streaming version of BytecodePolynomials
. I want to make sure we're on the right track before we start migrating the code to use this streaming behavior.
I created the MapState
iterator since the stream mutates final_cts
as it processes the trace. It seems like this should exist in the standard library, but I couldn't find anything that accomplishes this. One limitation of this is that final_cts
can't be read until the stream is consumed. I'm not sure if this is feasible with how the code uses final_cts
. If not, we may need to do an additional pass upfront that computes final_cts
.