-
-
Notifications
You must be signed in to change notification settings - Fork 881
Add vanilla flag for generators #485
Copy link
Copy link
Open
Labels
3.xIssues to be only tackled for Jackson 3.x, not 2.xIssues to be only tackled for Jackson 3.x, not 2.xperformanceIssue related to performance problems or enhancementsIssue related to performance problems or enhancements
Metadata
Metadata
Assignees
Labels
3.xIssues to be only tackled for Jackson 3.x, not 2.xIssues to be only tackled for Jackson 3.x, not 2.xperformanceIssue related to performance problems or enhancementsIssue related to performance problems or enhancements
With 3.0 we can start specializing generators (and parsers too) more, due to full immutability of feature flags.
One thing that should allow minor performance optimization is separating "non-vanilla" feature handling, such as:
into either fully separate generator implementations, or, as the first step, to use "vanilla flag" (similar to how
BeanDeserializerworks) to at least combine many checks into one, streamlining the default case of not requiring additional checks.