Not as fast ? Again, no one acknowledges psyco.
Which i said that for the difflib speed it up JUST as fast as C.
Want examples? Here is a COMPLETE package of MINE with the pure python difflib and the
C-python
difflib.
You should compare the speed of: pure python, psyco-python, and C-python. You will have
to
download kernel source (which is used as the test data).
Obtain psyco (i386 only) at
psyco.sf.net , then simply drop it in
/usr/lib/python2.2/site-packages.
My file compare.py has commented out code that gets psyco running (which is as simple as:
import psyco
psyco.bind(function_name)
and all functions called from this will be recursively optimized.
MY POINT: your comments that python is slower than php are based in reaction and not fact.
Your
comments that php is designed for the web is true, however it is mereley a coment, not an
argument.
In my 1st email i show 3 content-management systems for python. THere are even wikis built
on top
of these. (1 on twisted, 1 on zope, and 1 on plain python cgi which is sped up by
mod_python,
something that causes python to have the "built for web" feature that php has,
namely that only 1
process runs inside apache, instead of a new one for each request.)
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com