FasterXML / FasterXML/jackson-core

Add `vanilla` flag for generators

未关闭
#485 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
3.x performance
主要语言
Java
星标
2.4k
派生
928
平均合并
2 天 18 小时
30 天内合并 PR
24

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。