Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve performance of RenderJson #1058

Closed
asolntsev opened this issue Dec 26, 2016 · 1 comment
Closed

Improve performance of RenderJson #1058

asolntsev opened this issue Dec 26, 2016 · 1 comment
Assignees
Milestone

Comments

@asolntsev
Copy link
Contributor

Instance of class Gson can be reused. This object is thread-safe.

So, instead of creating new Gson() every time, we can create it once and reuse.

@asolntsev asolntsev self-assigned this Dec 26, 2016
asolntsev added a commit to codeborne/play that referenced this issue Dec 26, 2016
Instance of class Gson can be reused. This object is thread-safe.
So, instead of creating new Gson() every time, we can create it once and reuse.
asolntsev added a commit that referenced this issue Dec 26, 2016
@asolntsev
Copy link
Contributor Author

Issue was resolved by PR #1059

@xael-fry xael-fry added this to the 1.4.4 milestone Dec 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants