Update to 0.4.0.0

changes:
0.4.0.0
 - Update version number for release
   * Major bump is due to new instances for types in Data.Monoid
 - Merge pull request #18 from audreyt/patch-1
     Unbreak cereal for GHC 7.6.3
 - Merge pull request #14 from gcross/master
     Instances for newtype wrappers in Data.Monoid
 - Merge pull request #13 from alpmestan/master
     Add -O2 to the ghc build options
 - Fix a warning in ghc-7.4.1
 - Add the remaining input to the Fail constructor
0.3.5.2
 - Restructure runGetLazy to properly deal with the end of input
 - Merge pull request #4 from meiersi/fix-remove-unnecessary-unpack
     remove unnecessary UNPACK pragma
 - Merge pull request #3 from meiersi/improve-encoding-performance
     Improve encoding performance for lists, sequences, and trees.
       - slight improvement 5% for Data.Tree encoding
       - improved speed of Data.Sequence encoding
           It's about a factor 1.5 faster. Thanks to using 'foldMap' instead of 'mapM' it is slightly faster than the version in 'binary-0.5.0.2'.
       - improve the speed of list encoding by up to a factor of 2
	       It is better to traverse the list twice than to explicitly construct a closure representing the encoding of all its elements, as this avoids a significant amout of allocation. We gain some additional speed by recursing over builders only instead of recursing in the 'Put' monad.

		   Another candidate for the first kind of optimization is 'putSeqOf' and one for the second kind of optimization is 'putTreeOf'.

 - Merge pull request #2 from meiersi/fix-lazy-bytestring-length-conversion
     make types explicit and avoid unnecessary roundtrip
 - Warning removal
 - Add check in getBytes for negative length
 - Use the more efficient unsafeShiftR instead of shiftR when base >= 4.5
 - Fixed compilation with recent base.
This commit is contained in:
Ryosuke Moro 2013-09-28 01:02:27 +00:00 committed by Thomas Klausner
parent 50cff5b648
commit 9d8f36dd5d
3 changed files with 8 additions and 8 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.2 2012/03/04 07:59:16 phonohawk Exp $
# $NetBSD: Makefile,v 1.3 2013/09/28 01:02:27 szptvlfn Exp $
#
DISTNAME= cereal-0.3.5.1
DISTNAME= cereal-0.4.0.0
CATEGORIES= devel
MAINTAINER= pho@cielonegro.org

View file

@ -1,11 +1,11 @@
# $NetBSD: buildlink3.mk,v 1.2 2012/03/04 07:59:16 phonohawk Exp $
# $NetBSD: buildlink3.mk,v 1.3 2013/09/28 01:02:27 szptvlfn Exp $
BUILDLINK_TREE+= hs-cereal
.if !defined(HS_CEREAL_BUILDLINK3_MK)
HS_CEREAL_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.hs-cereal+= hs-cereal>=0.3.5
BUILDLINK_API_DEPENDS.hs-cereal+= hs-cereal>=0.4
BUILDLINK_PKGSRCDIR.hs-cereal?= ../../wip/hs-cereal
.endif # HS_CEREAL_BUILDLINK3_MK

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.2 2012/03/04 07:59:16 phonohawk Exp $
$NetBSD: distinfo,v 1.3 2013/09/28 01:02:27 szptvlfn Exp $
SHA1 (cereal-0.3.5.1.tar.gz) = 321057107ff90dc92b891cefa7a2e80adfb87377
RMD160 (cereal-0.3.5.1.tar.gz) = 532456766029997a3dc469c652c73d6cf964c136
Size (cereal-0.3.5.1.tar.gz) = 22084 bytes
SHA1 (cereal-0.4.0.0.tar.gz) = 14653b97237c03daacfae6f0ee51b38f2175536b
RMD160 (cereal-0.4.0.0.tar.gz) = 967c107fbd08304b3e14172d8ee518cb991b7873
Size (cereal-0.4.0.0.tar.gz) = 22310 bytes