Skip to content

Conversation

@axunonb
Copy link
Member

@axunonb axunonb commented Feb 28, 2025

  • Refactored parsing logic in Parser.cs with a new ParserState record, replacing stateful instance variables.
  • Make Parser.ParseFormat(...) thread-safe

Resolves #466

- Refactored parsing logic in `Parser.cs` with a new `ParserState` record.
- Make `Parser.ParseFormat(...)` thread-safe

Resolves axuno#466
@axunonb axunonb requested a review from karljj1 February 28, 2025 23:55
@codecov
Copy link

codecov bot commented Feb 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97%. Comparing base (423466b) to head (f3dbee5).
Report is 1 commits behind head on main.

Additional details and impacted files
@@         Coverage Diff         @@
##           main   #467   +/-   ##
===================================
  Coverage    97%    97%           
===================================
  Files        96     99    +3     
  Lines      3341   3383   +42     
===================================
+ Hits       3237   3279   +42     
  Misses      104    104           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@axunonb
Copy link
Member Author

axunonb commented Mar 3, 2025

Thanks for your review.

@axunonb axunonb merged commit 0f1f1bf into axuno:main Mar 3, 2025
5 checks passed
@axunonb axunonb deleted the pr/parser-parseformat branch March 3, 2025 14:56
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.

Make Parser.ParseFormat thread-safe

2 participants