Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vanilla flag for generators #485

Open
cowtowncoder opened this issue Oct 8, 2018 · 0 comments
Open

Add vanilla flag for generators #485

cowtowncoder opened this issue Oct 8, 2018 · 0 comments
Labels
3.x Issues to be only tackled for Jackson 3.x, not 2.x performance Issue related to performance problems or enhancements

Comments

@cowtowncoder
Copy link
Member

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:

  • Unquoted field names
  • Pretty-printing
  • Custom escaping

into either fully separate generator implementations, or, as the first step, to use "vanilla flag" (similar to how BeanDeserializer works) to at least combine many checks into one, streamlining the default case of not requiring additional checks.

@cowtowncoder cowtowncoder added 3.x Issues to be only tackled for Jackson 3.x, not 2.x active labels Oct 8, 2018
@cowtowncoder cowtowncoder added performance Issue related to performance problems or enhancements and removed active labels Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Issues to be only tackled for Jackson 3.x, not 2.x performance Issue related to performance problems or enhancements
Projects
None yet
Development

No branches or pull requests

1 participant