This website requires JavaScript.
Explore
Help
Sign In
Johannes
/
gson-comments
Watch
1
Star
0
Fork
0
You've already forked gson-comments
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
2da01fb183
gson-comments
/
gson
/
src
History
Inderjeet Singh
2da01fb183
Deleted deepCopy as GsonBuilder should not be designed as a reusable object.
2011-11-29 07:58:32 +00:00
..
main/java/com/google
/gson
Deleted deepCopy as GsonBuilder should not be designed as a reusable object.
2011-11-29 07:58:32 +00:00
test/java/com/google
/gson
Decode JSON literal types eagerly and with our own decoder. Previously we relied on Double.parseDouble() to decode tokens. Since that method is expensive, we deferred calling it unless absolutely necessary. Now we decode the literal type immediately. For efficiency we decode the token right out of the char buffer. This makes things more complicated but it saves many calls to charAt(). It also opens up the possibility to deferring string creation.
2011-11-27 16:50:45 +00:00