Hello Nicolas, Am Dienstag, den 11.01.2011, 17:13 +0100 schrieb Nicolas Évrard: > This is my first "real" post on this list. For those that don't know > me, I am the author of relatorio and just like Bertrand and Cédric a > former tiny employee (in fact I am the one to blame for Cédric's > hiring at tiny at that time ;)). I joined b2ck this 1st of January as > a shareholder in the company and as you already saw I made some > patches on the client.
a hearty welcome to you, Nicolas! Great to see you on board of B2CK and Tryton. > But the main reason for this message is to talk about a python module > implementing Decimal computation in C. I saw the cdecimal announce on > the python-announce list, this module is benchmarked to have 12x > speedup over the pure-python version of Decimal and is a drop-in > replacement for Decimal. > > Did anybody have already used it ? Do you think this library should be > included in trytond ? > > cdecimal homepage : http://www.bytereef.org/mpdecimal/index.html I've never used it, but took a quick look about the feature we need for German implementation, which is ROUND_HALF_UP. As far as I can see it is supported[1]. The twelve time speedup on psycopg sounds very promising. I support the inclusion into Tryton. [1] http://www.bytereef.org/mpdecimal/doc/libmpdec/context.html#rounding Cheers -- Udo Spallek ------------------------------------ virtual things Preisler & Spallek GbR Munich - Aix-la-Chapelle Windeckstr. 77 81375 Munich - Germany Tel: +49 (89) 710 481 55 Fax: +49 (89) 710 481 56 [email protected] http://www.virtual-things.biz -- [email protected] mailing list
