From owner-cvs-ports@FreeBSD.ORG Sun Aug 14 17:46:18 2011 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16A69106566B; Sun, 14 Aug 2011 17:46:18 +0000 (UTC) (envelope-from pgj@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DFDB88FC08; Sun, 14 Aug 2011 17:46:17 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p7EHkHQa059543; Sun, 14 Aug 2011 17:46:17 GMT (envelope-from pgj@repoman.freebsd.org) Received: (from pgj@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p7EHkHqM059542; Sun, 14 Aug 2011 17:46:17 GMT (envelope-from pgj) Message-Id: <201108141746.p7EHkHqM059542@repoman.freebsd.org> From: Gabor Pali Date: Sun, 14 Aug 2011 17:46:17 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/lang/ghc bsd.hackage.mk ports/textproc Makefile ports/textproc/hs-double-conversion Makefile distinfo pkg-descr ports/textproc/hs-double-conversion/files patch-double-conversion.cabal X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Aug 2011 17:46:18 -0000 pgj 2011-08-14 17:46:17 UTC FreeBSD ports repository Modified files: lang/ghc bsd.hackage.mk textproc Makefile Added files: textproc/hs-double-conversion Makefile distinfo pkg-descr textproc/hs-double-conversion/files patch-double-conversion.cabal Log: A library that performs fast, accurate conversion between double precision floating point and text. This library is implemented as bindings to the C++ double-conversion library written by Florian Loitsch at Google: http://code.google.com/p/double-conversion/. The Text versions of these functions are about 30 times faster than the default show implementation for the Double type. The ByteString versions are slower than the Text versions; roughly half the speed. (This seems to be due to the cost of allocating ByteString values via malloc.) As a final note, be aware that the bytestring-show package is about 50% slower than simply using show. WWW: http://github.com/mailrank/double-conversion Obtained from: FreeBSD Haskell Revision Changes Path 1.67 +2 -1 ports/lang/ghc/bsd.hackage.mk 1.1636 +1 -0 ports/textproc/Makefile 1.1 +20 -0 ports/textproc/hs-double-conversion/Makefile (new) 1.1 +2 -0 ports/textproc/hs-double-conversion/distinfo (new) 1.1 +11 -0 ports/textproc/hs-double-conversion/files/patch-double-conversion.cabal (new) 1.1 +14 -0 ports/textproc/hs-double-conversion/pkg-descr (new)