gson-comments/gson
Jesse Wilson aceadaecf1 Add a hashing layer to LinkedTreeMap. Instead of having 1 root node, the 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.
2012-09-17 00:19:44 +00:00
..
docs/javadocs Javadocs for 2.2.2 2012-07-03 01:09:24 +00:00
src Add a hashing layer to LinkedTreeMap. Instead of having 1 root node, the class now has several root nodes, one for each hash bucket in a hash table. 2012-09-17 00:19:44 +00:00
assembly-descriptor.xml removed assembly-descriptor.xml from Gson jar 2011-04-13 18:26:51 +00:00
Gson 2.1 notes.txt Commit to factories as the mechanism to lookup type adapters. This uses factories for type hierarchy adapters. We keep a separate list of factories for tree-style adapters registered with registerTypeHierarchyAdapter to guarantee that these come after the non-hierarchy adapters. 2011-11-23 06:16:55 +00:00
LICENSE Updating License to contain the full text. 2011-04-12 21:21:39 +00:00
pom.xml updated extras pom to latest plugin versions. 2012-08-01 20:54:37 +00:00
README moved gson as a project under trunk 2008-09-01 03:13:32 +00:00

Gson is a Java library that can be used to convert a Java object into its 
JSON representation. It can also be used to convert a JSON string into an 
equivalent Java object. Gson can work with arbitrary Java objects including 
pre-existing objects that you do not have source-code of.

Complete Gson documentation is available at its project page 
http://code.google.com/p/google-gson