Skip to content

Conversation

@obourgain
Copy link

This is called for all lines, so cost adds up.

Most use cases use just the gcid, but in UnifiedG1GCParser the end position is also required to do a subString() and reduce the length of the String that will be parsed by all the Patterns.

My impl has a little behavior change. The regex GC\\((\\d+)\\) was matching the space after the gcid while my implementation uses the index of the closing ) as end, so the subString() has an additional space at first position. I can change my implementation upon request to keep the same behavior.

This is called for all lines, so cost adds up.
@obourgain
Copy link
Author

@microsoft-github-policy-service agree

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