Skip to content

fix: give linked slots independent filler iterators via fork()#1956

Open
chrisbenincasa wants to merge 1 commit into
mainfrom
linked-slot-filler
Open

fix: give linked slots independent filler iterators via fork()#1956
chrisbenincasa wants to merge 1 commit into
mainfrom
linked-slot-filler

Conversation

@chrisbenincasa

Copy link
Copy Markdown
Owner

Linked slots (sharing an iterationGroup for rerun behavior) were
producing identical filler content because they shared a single
stateful filler iterator. Add a fork() method to ProgramIterator
that creates fully independent copies, and call it in
getFillerIteratorsForSlot when a slot's iteration group has
already been seen. Content iterators remain shared (reruns work),
but each slot now walks its own filler sequence.

Linked slots (sharing an iterationGroup for rerun behavior) were
producing identical filler content because they shared a single
stateful filler iterator. Add a fork() method to ProgramIterator
that creates fully independent copies, and call it in
getFillerIteratorsForSlot when a slot's iteration group has
already been seen. Content iterators remain shared (reruns work),
but each slot now walks its own filler sequence.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant