| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I70fd41751f9b9c7309cbb89097c6b8d051bc5747
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/tags/gson-2.2.4@1253 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1252 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1251 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1250 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1249 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1248 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
|
|
| |
the hashing from it as resorted to a single tree. The insertion order is still preserved.
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1247 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1246 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1245 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1244 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1243 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1242 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1240 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1239 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
|
|
| |
non-Comparable() keys are passed to it
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1238 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1237 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1236 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1235 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
|
|
| |
possible.
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1234 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
|
|
| |
String intern for the common cases.
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1233 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1232 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
|
|
| |
OSGi entries for maven-source-plugin
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1231 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1230 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
|
|
| |
LinkedTreeMap version.
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1229 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
|
|
| |
construction for EnumSet
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1228 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
|
|
| |
Fixes issue 498.
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1227 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1226 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1225 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1224 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1223 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1222 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1221 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1220 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
|
|
| |
- Added test expose bad behaviour.
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1219 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1218 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
|
|
| |
https://groups.google.com/d/topic/google-gson/EBmOCa8kJPE/discussion
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1217 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
|
|
| |
specifying type parameters).
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1216 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
|
|
|
|
|
|
| |
This makes the feature less risky to use! It now uses our
TypeAdapterFactory infrastructure rather than relying on
parallel infrastructure.
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1215 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
|
|
| |
This attempts to address issue 402, wherein subclassing ThreadLocal is pinning a reference to a class, which transitively pins the entire application in containers like Tomcat.
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1214 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1213 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
|
|
|
|
| |
for Intercept annotation.
Added more tests for the features.
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1212 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
|
|
| |
currently failing.
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1211 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
|
|
| |
Added support for JsonPostDeserializer that allows you to invoke postDeserialize methods on an Gson deserialized object.
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1210 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1209 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
|
|
| |
The most interesting optimization is to replace ArrayDeque with a manual linked list that reuses the nodes 'parent' field. These optimizations save about 20%.
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1207 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
class now has several root nodes, one for each hash bucket in a hash table.
Compared to LinkedTreeMap, this is slower for small (size=5) maps: 124% slower to get() and 33% slower to create and populate. It's a win for large (size=500) maps: 46% faster to get() but 8% slower to create and populate. And it's a big win for very large (size=50,000) maps: 81% faster to get() and 46% faster to create and populate.
http://microbenchmarks.appspot.com/run/limpbizkit@gmail.com/com.google.common.collect.MapBenchmark
I'm going to follow this up with some simple optimizations: caching local fields and simplifying access. That should narrow the performance gap.
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1206 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
|
|
| |
This is in preparation for a new feature where LinkedTreeMap will have multiple roots, each in its own hash bucket.
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1205 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
| |
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1204 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|
|
|
|
|
|
| |
Found by Guava's awesome collections test suite!
git-svn-id: http://google-gson.googlecode.com/svn/trunk/gson@1203 2534bb62-2c4b-0410-85e8-b5006b95c4ae
|