A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-April/014436.html below:

[Python-Dev] ineffective optimization: method tables

[Python-Dev] ineffective optimization: method tables [Python-Dev] ineffective optimization: method tablesGuido van Rossum guido@digicool.com
Mon, 23 Apr 2001 11:21:02 -0400
> Well, I wasted a fair amount of my time for no apparent gain.
[...]
> Unfortunately, all my benchmarks show this patch to
> be ineffective in terms of speeding up the interpreter.  Anyone
> know why?

Probably you're optimizing something that is already quite fast.
While your code saves a C call and a few tests, those kind of
operations are rarely what slows down Python these days.  My suspicion
is that most of the the time goes into (1) allocating and deallocating
objects, and (b) calling methods...

--Guido van Rossum (home page: http://www.python.org/~guido/)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4