Skip to content

refactor: use a stack instead of recursion in Graph.toArray#21

Open
Reddine wants to merge 1 commit intoawwright:masterfrom
Reddine:master
Open

refactor: use a stack instead of recursion in Graph.toArray#21
Reddine wants to merge 1 commit intoawwright:masterfrom
Reddine:master

Conversation

@Reddine
Copy link

@Reddine Reddine commented Oct 18, 2024

I encountered an InternalError: too much recursion when using TurboPack as a bundler

A stack is now used to avoid recursion, and the result is reversed to maintain the correct order (in assertions).

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