Commits

Author Commit Message Labels Comments Date
Bryan O'Sullivan
Switch to a peek-driven version of value This drops use of the (<|>) combinator, and greatly reduces the extent to which we allocate unused thunks. As a result, it improves both runtime and heap usage significantly.
Bryan O'Sullivan
Use symbolic constants more widely, for readability
Bryan O'Sullivan
Check for empty array/object values (oops!) Well, that was embarrassing - my rewrite wasn't quite as clever as I thought! This fix drops peak throughput, but it's still better than it was.
Bryan O'Sullivan
Make imports more explicit
Bryan O'Sullivan
Simplify objectValues
Bryan O'Sullivan
Rework objectValues to use commaSeparated This gives us a further 10% performance improvement when parsing object-heavy inputs, e.g. json-data/twitter100.json (gh-134).
Bryan O'Sullivan
Factor the arrayValues loop into its own function
Bryan O'Sullivan
Rewrite arrayValues to be less combinator-driven This gives us about a 20% performance increase when parsing an array-heavy input, such as json-data/geometry.json (gh-134).
Bryan O'Sullivan
Add -rtsopts to benchmarks
Bryan O'Sullivan
Ignore new cabal sandboxes
Bryan O'Sullivan
Remove sources of compiler warnings from benchmarks
Bryan O'Sullivan
Add a new benchmark datum (gh-134)
Bryan O'Sullivan
Merge
basvandijk
Fix overflow bug in scientificToNumber
Bryan O'Sullivan
Rename release notes to changelog, for Hackage compat
Bryan O'Sullivan
DotNetTime no longer requires an approx test
Bryan O'Sullivan
Fix instance of ToJSON for ZonedTime
Bryan O'Sullivan
UTCTime roundtrip does not need approximate equality
Bryan O'Sullivan
Ensure that arbitrary DiffTime values are millisecond-bounded
Bryan O'Sullivan
Fix JSON instance for UTCTime This fixes gh-158.
Bryan O'Sullivan
Fix module sorting
Bryan O'Sullivan
Merge pull request #162 from basvandijk/master Encode RealFloat numbers using Scientific.fromFloatDigits
basvandijk
Depend on scientific >= 0.1
basvandijk
Nicer ToJSON instance from Number and Integer
basvandijk
Encode RealFloat numbers using Scientific.fromFloatDigits The previous code used realToFrac (fromRation . toRational) which approximates a floating point value. For example: > toRational (1.2::Double) 5404319552844595 % 4503599627370496 If you encode this Rational number to a Scientific number and render it you get: > encode (1.2::Double) "1.1999999999999999555910790149937383830547332763671875" Using Scientific.fromFloatDigits you get the expecte…
basvandijk
Add ToJSON and FromJSON instances for Scientific
Bryan O'Sullivan
Bump dependency on scientific
basvandijk
Drop upper bound on scientific
Bryan O'Sullivan
Merge
Bryan O'Sullivan
Merge pull request #156 from basvandijk/scientific Change Number to Scientific
  1. Prev
  2. Next