google / google/gson

Caching json strings in expensive objects

Đang mở
#653 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Java
Star
24.2k
Fork
4.5k
Merge trung bình
6 ngày 4 giờ
Pull request đã merge (30 ngày)
12

Mô tả

We are trying to optimize gson resource usage in our servers.
Most of our requests CPU's are taking 200ms just doing gson serialization.

We've done a great progress by using the following method:
http://stackoverflow.com/a/30811549/410293

Although, we can't figure out how to make this work when the object is nested into a JsonWritterTree. I was hoping you had some insight on how to possibly nest a string into the JsonWritterTree.write without AssertError.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đá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.