Mark Dickinson dicki...@gmail.com wrote:
Thanks, Antoine! With SLOCCount I can revise my earlier numbers, as well:
Here's Stefan Krah's mpdecimal, version 0.80:
SLOCDirectory SLOC-by-Language (Sorted)
21445 top_dir ansic=21267,sh=105,python=55,asm=18
6238
Mark Dickinson dicki...@gmail.com wrote:
2. Would fastdec - after achieving full decimal.py compatibility - be
a serious candidate?
Definitely. As far as I know it's the only real candidate for a full
C version of decimal right now. Other possibilities that I'm aware of:
* I think
Stefan Krah wrote:
Mark Dickinson wrote:
I think my biggest concern is maintenance: we'd be replacing
8500 lines of Python code in a single file, that several of the
current core developers understand well, with 3 (Stefan, is
that about accurate?) lines of C in several files, that
Maciej Fijalkowski wrote:
For example other python implementations might decide to use python
version as long as builtin version does not appear. Python versions are
usually also better targets for jit than mixed versions. C level versions also
usually have more bugs (just statistics), so some
On Tue, Oct 20, 2009 at 2:15 PM, Stefan Krah stefan-use...@bytereef.org wrote:
1. Are you generally in favour of a C decimal module in Python?
I'm certainly interested in the general idea; whether I'd be in favour
of replacing decimal.py with a particular C version would depend on
a lot of
On Wed, Oct 21, 2009 at 11:37 AM, Nick Coghlan ncogh...@gmail.com wrote:
As far as decimal.py in particular goes, there are significant
maintenance gains in keeping a lot of the non-performance critical
context management code in pure Python. So we're likely to wait and see
how much speed Mark
On Wed, Oct 21, 2009 at 4:05 PM, Antoine Pitrou solip...@pitrou.net wrote:
Mark Dickinson dickinsm at gmail.com writes:
BTW, does anyone know the current SLOC count for py3k?
Here you are, generated using David A. Wheeler's 'SLOCCount':
[...]
Thanks, Antoine! With SLOCCount I can revise my
Mark Dickinson schrieb:
* There's a partially complete rewrite of decimal in C in the sandbox,
dating from the Need for Speed sprint in 2006:
http://svn.python.org/view/sandbox/trunk/decimal-c/
Last time I looked at this it wasn't up to date with the decimal
specification: I'm not sure
Hi,
as some of you know, recently I've released an arbitrary precision
C library for decimal arithmetic together with a Python module:
http://www.bytereef.org/libmpdec.html
http://www.bytereef.org/fastdec.html
Both the library and the module have been tested extensively. Fastdec
currently
Shouldn't this be on python-ideas?
S
On Oct 20, 2009, at 9:15 AM, Stefan Krah wrote:
Hi,
as some of you know, recently I've released an arbitrary precision
C library for decimal arithmetic together with a Python module:
http://www.bytereef.org/libmpdec.html
On Tue, 20 Oct 2009 at 09:27, sstein...@gmail.com wrote:
Shouldn't this be on python-ideas?
IMO this question is appropriate for python-dev, not python-ideas.
--David
___
Python-Dev mailing list
Python-Dev@python.org
sstein...@gmail.com sstein...@gmail.com wrote:
Shouldn't this be on python-ideas?
I found previous discussions about Decimal in C on python-dev, that's why
used this list.
Stefan Krah
___
Python-Dev mailing list
Python-Dev@python.org
On Oct 20, 2009, at 9:43 AM, Stefan Krah wrote:
sstein...@gmail.com sstein...@gmail.com wrote:
Shouldn't this be on python-ideas?
I found previous discussions about Decimal in C on python-dev,
that's why
used this list.
python-ideas:
This list is to contain discussion of speculative
On Tue, 20 Oct 2009 at 09:55, sstein...@gmail.com wrote:
On Oct 20, 2009, at 9:43 AM, Stefan Krah wrote:
sstein...@gmail.com sstein...@gmail.com wrote:
Shouldn't this be on python-ideas?
I found previous discussions about Decimal in C on python-dev, that's why
used this list.
python-ideas:
2009/10/20 Stefan Krah stefan-use...@bytereef.org:
Hi,
as some of you know, recently I've released an arbitrary precision
C library for decimal arithmetic together with a Python module:
http://www.bytereef.org/libmpdec.html
http://www.bytereef.org/fastdec.html
Both the library and the
On Tue, Oct 20, 2009 at 3:00 PM, Paul Moore p.f.mo...@gmail.com wrote:
2009/10/20 Stefan Krah stefan-use...@bytereef.org:
Hi,
as some of you know, recently I've released an arbitrary precision
C library for decimal arithmetic together with a Python module:
16 matches
Mail list logo