google / google/gson

Caching json strings in expensive objects

オープン
#653 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Java
スター
24.2k
フォーク
4.5k
平均マージ
6日 4時間
マージ済み PR(30日)
12

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。