Skip to content

Conversation

@jfmengels
Copy link
Collaborator

This creates a stack overflow. I am not sure how to fix it, but I have created a regression test, should anyone want to look into this 🙏

@lue-bird
Copy link
Contributor

lue-bird commented Aug 2, 2024

for reference, I tried replacing our whitespace/comments/empty primitive with a loop and it got ~10ms slower.
What I think we could do though is only start looping once we encounter a single-line comment (might be a bit rough though)

@jfmengels
Copy link
Collaborator Author

I think that would make sense, although I'm not sure what you mean by rough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants