Skip to content

Conversation

william1nguyen
Copy link

Problem

Parser instances are not reusable in benchmark loops, causing panic when attempting to reuse the same Parser for multiple Parse() calls.

Screenshot 2025-08-06 at 14 30 45

Solution

Recreate a new Parser instance for each benchmark iteration instead of reusing the same instance.

@william1nguyen william1nguyen marked this pull request as draft August 6, 2025 12:34
@william1nguyen william1nguyen marked this pull request as ready for review August 6, 2025 12:35
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