FasterXML / FasterXML/jackson-modules-base

Consider changing checks for `is std (de)serializer` for `BeanPropertyWriter`

Đang mở
#15 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
afterburner
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á.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.