Skip to content

Conversation

@iProdigy
Copy link
Contributor

It appears EnumValues#internalMap is meant to be cached (upon first execution), but _asMap was never updated with the computed value.

Original commit: 003e5b0

@cowtowncoder
Copy link
Member

Thank you @iProdigy -- indeed, a silly oversight here! Thank you for fixing.

@cowtowncoder cowtowncoder merged commit 494924c into FasterXML:2.16 Jul 15, 2023
@cowtowncoder cowtowncoder changed the title perf: actually cache EnumValues#internalMap Actually cache EnumValues#internalMap Jul 15, 2023
@cowtowncoder cowtowncoder added performance Issue related to performance problems or enhancements 2.16 labels Jul 15, 2023
cowtowncoder added a commit that referenced this pull request Jul 15, 2023
@iProdigy iProdigy deleted the fix/enum-values-internal-map-cache branch July 15, 2023 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Issue related to performance problems or enhancements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants