Skip to content

Conversation

pjfanning
Copy link
Member

I've looking at issues in BigDecimalParser and noticed that the exception message code that is meant to protect us from consuming too much memory is not efficient enough.

This PR adds methods to handle char arrays and avoids creating Strings for the potentially large arrays.

Copy link
Member

@cowtowncoder cowtowncoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch & thank you for doing smaller PRs to isolate work-arounds from long-term improvements.

@cowtowncoder cowtowncoder merged commit f90ba05 into FasterXML:2.18 Sep 12, 2024
9 checks passed
@pjfanning pjfanning deleted the exception-handling-weakness branch September 12, 2024 08:30
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.

2 participants