Python on Tandy Model 102?

Erno Kuusela erno-news at erno.iki.fi
Wed Jan 30 05:49:01 EST 2002


In article <83n0yxexo0.fsf at panacea.canonical.org>, Kragen Sitaker
<kragen at pobox.com> writes:

| Why doesn't Python do that?  It doesn't even build a shared library of
| itself by default, let alone build a tiny executable that uses it.

i noticed this the other day:

(erno at fabulous) home/erno % time /usr/bin/python2.1 pystone.py
Pystone(1.1) time for 10000 passes = 0.95
This machine benchmarks at 10526.3 pystones/second
1.00user 0.00system 0:00.99elapsed 100%CPU (0avgtext+0avgdata 0maxresident)k
(erno at fabulous) home/erno % time /usr/local/bin/python2.1 pystone.py
Pystone(1.1) time for 10000 passes = 0.62
This machine benchmarks at 16129 pystones/second
0.66user 0.01system 0:00.68elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k

the debian-provided /usr/bin/python2.1 is dynamically linked against
libpython.so whereas the one in /usr/local/bin is not, i can't
think of other major differences (both have threading enabled, at least).

  -- erno



More information about the Python-list mailing list