FasterXML / FasterXML/jackson-modules-base

Consider use of Java 8 `LambdaMetafactory` for Afterburner getter/setter access

Abierto
#59 5 comentarios 0 reacciones 0 asignados Ver en GitHub
3.x afterburner
Lenguaje dominante
Java
Estrellas
180
Forks
80
Merge medio
3 h 26 min
PR fusionados (30 d)
1

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.