FasterXML / FasterXML/jackson-modules-base
Consider changing checks for `is std (de)serializer` for `BeanPropertyWriter`
- Ngôn ngữ chính
- Java
- Star
- 180
- Fork
- 80
- Merge trung bình
- 3 giờ 26 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
Currently any deserializer/serializer that is not considered Jackson "standard" (de)serializer will lead to de-optimizing access. However, it should really only be necessary to do this for cases where handling would markedly differ:
- `String` (the original reported problem, issue 59 (in old repo))
- `int`/`Integer`
- `long`/`Long`
- `boolean`/`Boolean`
whereas other Object types seem unlikely to have problems due to optimized access.
The reason for being more selective is because there is some cost from de-optimizing; namely additional method call due to chaining, as well as loss of optimization itself.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.