- 18 Mar, 2004 2 commits
-
-
Brett Cannon authored
-
Brett Cannon authored
-
- 17 Mar, 2004 4 commits
-
-
Raymond Hettinger authored
* Factored constant structure references out of the inner loops for PyDict_Next(), dict_keys(), dict_values(), and dict_items(). Gave measurable speedups to each (the improvement varies depending on the sparseness of the dictionary being measured). * Added a freelist scheme styled after that for tuples. Saves around 80% of the calls to malloc and free. About 10% of the time, the previous dictionary was completely empty; in those cases, the dictionary initialization with memset() can be skipped.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
ifilterfalse().
-
Skip Montanaro authored
-
- 16 Mar, 2004 4 commits
-
-
Gregory P. Smith authored
wrong type of database in dbshelve. * fix a typo in the exception name when checking args
-
Gregory P. Smith authored
correct function)
-
Gregory P. Smith authored
-
Kurt B. Kaiser authored
2. Touch up help.txt M config-highlight.def M help.txt
-
- 15 Mar, 2004 5 commits
-
-
Raymond Hettinger authored
-
Walter Dörwald authored
Code coverage for binascii.c is at 92%. From SF patch #736962.
-
Raymond Hettinger authored
exact turned on. The tiny space savings wasn't worth the additional time and code.
-
Kurt B. Kaiser authored
2. Convert 1/0 to True/False 3. Fix a couple of long lines M ColorDelegator.py M NEWS.txt
-
Raymond Hettinger authored
-
- 14 Mar, 2004 4 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
scheme in situations that likely won't benefit from it. This further improves memory utilization from Py2.3 which always over-allocates except for PyList_New(). Situations expected to benefit from over-allocation: list.insert(), list.pop(), list.append(), and list.extend() Situations deemed unlikely to benefit: list_inplace_repeat, list_ass_slice, list_ass_subscript The most gray area was for listextend_internal() which only runs when the argument is a list or a tuple. This could be viewed as a one-time fixed length addition or it could be viewed as wrapping a series of appends. I left its over-allocation turned on but could be convinced otherwise.
-
Raymond Hettinger authored
array.extend() now accepts iterable arguments implements as a series of appends. Besides being a user convenience and matching the behavior for lists, this the saves memory and cycles that would be used to create a temporary array object.
-
Raymond Hettinger authored
lists. Speeds append() operations and reduces memory requirements (because of more conservative overallocation). Paves the way for the feature request for array.extend() to support arbitrary iterable arguments.
-
- 13 Mar, 2004 7 commits
-
-
Jack Jansen authored
- there were no accessor functions for the global per-database fields - packages and their dependencies were installed in order in stead of in reverse order.
-
Jack Jansen authored
Bob Ippolito.
-
Skip Montanaro authored
public API from being exposed by simply including Python.h (as recommended).
-
Jack Jansen authored
to its dependencies. Fixes #733819.
-
Raymond Hettinger authored
(Contributed by Greg Chapman.)
-
Raymond Hettinger authored
(Contributed by George Yoshida.)
-
Raymond Hettinger authored
Added support for the copy module.
-
- 12 Mar, 2004 6 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
Reduces loop overhead by an additional 10%.
-
Raymond Hettinger authored
(Spotted by Michael Hudson.) * Now that "selflen" is no longer inside a loop, it should not be a register variable.
-
Raymond Hettinger authored
Makes it more likely that all loop operations are in the cache at the same time.
-
Raymond Hettinger authored
and a function call resulting in a 15% reduction of total loop overhead (as measured by timeit.Timer('pass')).
-
Raymond Hettinger authored
three recent optimizations. Aside from reducing code volume, it increases readability.
-
- 11 Mar, 2004 7 commits
-
-
Jack Jansen authored
donated by Kevin Ollivier. This is now the default downloader. - Added a watcher mechanism, whereby downloaders and unpackers (and, later builders) can give status feedback to the user. When running pimp as a command line tool in verbose mode print this output.
-
Raymond Hettinger authored
worth it to in-line the call to PyIter_Next(). Saves another 15% on most list operations that acceptable a general iterable argument (such as the list constructor).
-
Raymond Hettinger authored
exposing _PyList_Extend().
-
Raymond Hettinger authored
avoids creating an intermediate tuple for iterable arguments other than lists or tuples. In other words, a+=b no longer requires extra memory when b is not a list or tuple. The list and tuple cases are unchanged.
-
Neil Schemenauer authored
-
Neil Schemenauer authored
-
Neil Schemenauer authored
-
- 10 Mar, 2004 1 commit
-
-
Neil Schemenauer authored
SF bug #678265.
-