FasterXML / FasterXML/jackson-modules-base
Consider use of Java 8 `LambdaMetafactory` for Afterburner getter/setter access
オープン
3.x
afterburner
- 主要言語
- Java
- スター
- 180
- フォーク
- 80
- 平均マージ
- 3時間 26分
- マージ済み PR(30日)
- 1
説明
As per:
https://www.optaplanner.org/blog/2018/01/09/JavaReflectionButMuchFaster.html
it seems like there is a way to actually get near-static access for getters, without (explicit) code generation, using Java 8 added class `LambdaMetafactory`. Whether it will actually work out or not remains to be seen -- and, if it does, could it actually be added in `jackson-databind`? -- but seems like a promising lead. While mechanism is probably not enough to cover all code generation needs (field access, constructor calls), getter/setter access is significant on its own.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。