~jameinel/+junk/gozjson

Viewing all changes in revision 10.

  • Committer: John Arbash Meinel
  • Date: 2011-06-18 22:13:19 UTC
  • Revision ID: john@arbash-meinel.com-20110618221319-741xkyx6bsvka32a
I didn't have success implementing UnmarshalJSON such that
it was actually faster. Partly because I still went to unmarshal
the generic interface, and then load that into my struct.
Note that using a custom struct with fewer fields *is* a lot
faster, because it doesn't parse those extra fields or map them
to the right types. I get down to 5.978s if I only have
Address and Type exposed.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: