|
The Python "Need for Speed" SprintThe Python "Need for Speed" SprintPosted May 28, 2006 22:40 UTC (Sun) by k8to (subscriber, #15413)In reply to: The Python "Need for Speed" Sprint by jengelh Parent article: The Python "Need for Speed" Sprint
It's well known that perl is faster than python. Python stack frames are
That all said, I find that the speed difference quite rarely matters.
(Log in to post comments)
Not PCRE Posted May 29, 2006 2:44 UTC (Mon) by amk (subscriber, #19) [Link] PCRE was used in Python 1.5.2, but it doesn't support 16-bit Unicode characters (only UTF-8 encoded strings), so Python now uses its own regex engine.
Actually Perl is not always faster Posted May 29, 2006 16:45 UTC (Mon) by scottt (subscriber, #5028) [Link] A microbenchmark comparing Perl and Python: Computer Language Shootout
Actually Perl is not always faster Posted May 29, 2006 23:10 UTC (Mon) by k8to (subscriber, #15413) [Link] Actually beginning comments with "actually" is always slightlybothersome.
Actually Perl is not always faster Posted Jul 15, 2006 21:02 UTC (Sat) by Barry (guest, #39099) [Link] There's some data based on the Computer Language Shootout at the bottom of this page. On Debian : AMD™ Sempron™, Python performed faster than Perl in 9 out of 15 benchmarks. On Gentoo : Intel® Pentium® 4, Python performed faster than Perl in 13 out of 16 benchmarks.
The Python "Need for Speed" Sprint Posted May 29, 2006 20:42 UTC (Mon) by jafo (subscriber, #8892) [Link] One of the areas that was worked on was speeding up function calls, including changes related specifically to the frames. There isn't much that can be done about reducing the frame size, but I think a small reduction was done there. However, Richard Jones spent the first day of the sprint updating a patch which used zombie frames so that repeated calls to a function would use a cached frame that was already mostly initialized.
Sean
|
Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.