Source

aeson / Data / Aeson / Types / Internal.hs

The default branch has multiple heads

Author Commit Message Labels Comments Date
Bryan O'Sullivan
Simplify the definition of modifyFailure
Michael Snoyman
modifyFailure (bos/aeson#104)
Bryan O'Sullivan
Update copyright years
Bryan O'Sullivan
Switch over to new hashable interface
Bryan O'Sullivan
Update copyrights.
Bryan O'Sullivan
Merge
Bryan O'Sullivan
Merge pull request #41 from basvandijk/hashmap Use HashMap instead of Map for Objects
basvandijk
Use HashMap instead of Map for Objects This gives some nice speedups in the AesonCompareAutoInstances benchmarks: 24.7% speedup on average 98.0% maximum speedup -1.7% maximum slowdown
Bryan O'Sullivan
Update maintainer email address
basvandijk
Strict Value fields This improves the running time of the AesonParse benchmarks. I don't think there's a use-case for lazy fields. Fixes #37
basvandijk
Merge branch 'master' of git://github.com/mailrank/aeson into optimizations Also removed some unnecessary language extensions Conflicts: Data/Aeson/Types/Internal.hs
basvandijk
Slightly improved performance of generically parsing sums The BigSum/fromJSON/generic benchmarks goes from 13.6 us to 11.3 us. Thanks to Twan van Laarhoven for the idea of using Maybe for the parse result instead of using the parser directly
basvandijk
Improved performance of generic toJSON of sums by a factor of 2 simply by writing the function in pointfree style.
basvandijk
Improved performance of generic parseJSON of records by a factor of 3 simply by writing the function in pointfree style. This probably enables GHC to inline the function better.
basvandijk
Improved performance of generic parseJSON of products even further Improved by a factor of 4.4 (on the BigProduct benchmark) Now we are faster than TH!
basvandijk
Merge branch 'master' of git://github.com/mailrank/aeson into optimizations
basvandijk
Improved performance of generic parseJSON of products We first check if the length of the given array equals the length of the product, then we can unsafely index the array which yields a nice performance improvement. We are now faster than syb on the BigProduct benchmark.
Bryan O'Sullivan
Close another old branch
Bryan O'Sullivan
Split Types/Internal.hs into 3 files.
Bryan O'Sullivan
ARGH
Bryan O'Sullivan
Once more, with vigour! GHC 6.12 is now happy again
Bryan O'Sullivan
YA attempt at slaying the containers/deepseq beast :-(
Bryan O'Sullivan
Try an even more robust way of handling containers.
basvandijk
Improved performance of generic toJSON of records
basvandijk
Added INLINE pragmas to all generic methods. This speeds up the benchmarks
basvandijk
Grouped the GToJSON instances and grouped the GFromJSON instances This makes the code easier to follow.
basvandijk
Solved conflicts and improved documentation of FromJSON and ToJSON
basvandijk
Statically check if a constructor is a record instead of dynamically. Besides possibly being more efficient this allows me to remove the undefined instances because they are no longer required.
basvandijk
Unified two GFromProduct instances
basvandijk
Fix for generic toJSON and parseJSON The bug was caused by an incorrect assumption that products where build in a right associative way where in reallity they have a tree shape.
  1. Prev
  2. 1
  3. 2
  4. Next