[ANN] cdecimal-2.2 released

S

Stefan Krah

Hi,

I'm pleased to announce the release of cdecimal-2.2. cdecimal is a fast
drop-in replacement for the decimal module in Python's standard library.


Blurb
=====

cdecimal is a complete implementation of IBM's General Decimal Arithmetic
Specification. With the appropriate context parameters, cdecimal will also
conform to the IEEE 754-2008 Standard for Floating-Point Arithmetic.

Typical performance gains over decimal.py are between 30x for I/O heavy
benchmarks and 80x for numerical programs. In a PostgreSQL database
benchmark, the speedup is 12x.

+---------+-------------+--------------+-------------+
| | decimal | cdecimal | speedup |
+=========+=============+==============+=============+
| pi | 42.75s | 0.58s | 74x |
+---------+-------------+--------------+-------------+
| telco | 172.19s | 5.68s | 30x |
+---------+-------------+--------------+-------------+
| psycopg | 3.57s | 0.29s | 12x |
+---------+-------------+--------------+-------------+


In the pi benchmark, cdecimal often performs better than Java's BigDecimal
running on Java HotSpot(TM) 64-Bit Server VM.


Both cdecimal and the underlying library - libmpdec - have very large
test suites. libmpdec has 100% code coverage, cdecimal 85%. The test
suites have been running continuously for over a year without any
major issues.


Install
=======

Since cdecimal is now listed on PyPI, it can be installed using pip:

pip install cdecimal


Windows installers are available at:

http://www.bytereef.org/mpdecimal/download.html


Links
=====

http://www.bytereef.org/mpdecimal/index.html
http://www.bytereef.org/mpdecimal/changelog.html
http://www.bytereef.org/mpdecimal/download.html


Checksums of the released packages
==================================

sha256sum
---------

3d92429fab74ddb17d12feec9cd949cd8a0be4bc0ba9afc5ed9b3af884e5d406 mpdecimal-2.2.tar.gz
e8f02731d4089d7c2b79513d01493c36ef41574423ea3e49b245b86640212bdc mpdecimal-2.2.zip
515625c5c5830b109c57af93d49ae2c57ec3f230d46a3e0583840ff73d7963be cdecimal-2.2.tar.gz


sha1sum
-------

24695b2c9254e1b870eb663e3d966eb4f0abd5ab cdecimal-2.2.win32-py2.6.msi
e74cb7e722f30265b408b322d2c50d9a18f78587 cdecimal-2.2.win32-py2.7.msi
7c39243b2fc8b1923ad6a6066536982844a7617f cdecimal-2.2.win32-py3.1.msi
5711fd69a8e1e2e7be0ad0e6b93ecc10aa584c68 cdecimal-2.2.win-amd64-py2.6.msi
b1cd7b6a373c212bf2f6aa288cd767171bfefd41 cdecimal-2.2.win-amd64-py2.7.msi
f08a803a1a42a2d8507da1dc49f3bf7eed37c332 cdecimal-2.2.win-amd64-py3.1.msi

cb29fa8f67befaf2d1a05f4675f840d7cd35cf6c cdecimal-2.2-no-thread.win32-py2.6.msi
012a44488f2ce2912f903ae9faf995efc7c9324b cdecimal-2.2-no-thread.win32-py2.7.msi
1c08c73643fc45d7b0feb62c33bebd76537f9d02 cdecimal-2.2-no-thread.win32-py3.1.msi
b6dbd92e86ced38506ea1a6ab46f2e41f1444eae cdecimal-2.2-no-thread.win-amd64-py2.6.msi
b239b41e6958d9e71e91b122183dc0eaefa00fef cdecimal-2.2-no-thread.win-amd64-py2.7.msi
413724ff20ede7b648f57dd9a78a12e72e064583 cdecimal-2.2-no-thread.win-amd64-py3.1.msi



Stefan Krah
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top