- 15 Mar, 2004 2 kayıt (commit)
-
-
Kurt B. Kaiser yazdı
2. Convert 1/0 to True/False 3. Fix a couple of long lines M ColorDelegator.py M NEWS.txt
-
Raymond Hettinger yazdı
-
- 14 Mar, 2004 4 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
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 yazdı
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 yazdı
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 kayıt (commit)
-
-
Jack Jansen yazdı
- 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 yazdı
Bob Ippolito.
-
Skip Montanaro yazdı
public API from being exposed by simply including Python.h (as recommended).
-
Jack Jansen yazdı
to its dependencies. Fixes #733819.
-
Raymond Hettinger yazdı
(Contributed by Greg Chapman.)
-
Raymond Hettinger yazdı
(Contributed by George Yoshida.)
-
Raymond Hettinger yazdı
Added support for the copy module.
-
- 12 Mar, 2004 6 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
Reduces loop overhead by an additional 10%.
-
Raymond Hettinger yazdı
(Spotted by Michael Hudson.) * Now that "selflen" is no longer inside a loop, it should not be a register variable.
-
Raymond Hettinger yazdı
Makes it more likely that all loop operations are in the cache at the same time.
-
Raymond Hettinger yazdı
and a function call resulting in a 15% reduction of total loop overhead (as measured by timeit.Timer('pass')).
-
Raymond Hettinger yazdı
three recent optimizations. Aside from reducing code volume, it increases readability.
-
- 11 Mar, 2004 7 kayıt (commit)
-
-
Jack Jansen yazdı
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 yazdı
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 yazdı
exposing _PyList_Extend().
-
Raymond Hettinger yazdı
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 yazdı
-
Neil Schemenauer yazdı
-
Neil Schemenauer yazdı
-
- 10 Mar, 2004 4 kayıt (commit)
-
-
Neil Schemenauer yazdı
SF bug #678265.
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
for xrange and list objects). * list.__reversed__ now checks the length of the sequence object before calling PyList_GET_ITEM() because the mutable could have changed length. * all three implementations are now tranparent with respect to length and maintain the invariant len(it) == len(list(it)) even when the underlying sequence mutates. * __builtin__.reversed() now frees the underlying sequence as soon as the iterator is exhausted. * the code paths were rearranged so that the most common paths do not require a jump.
-
Raymond Hettinger yazdı
was academic and it was potentially confusing to use.
-
- 09 Mar, 2004 3 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
* Replace sprintf message with a constant message string -- this error message ran on every invocation except straight deletions but it was only needed when the rhs was not iterable. The message was also out-of-date and did not reflect that iterable arguments were allowed. * For inner loops that do not make ref count adjustments, use memmove() for fast copying and better readability. * For inner loops that do make ref count adjustments, speed them up by factoring out the constant structure reference and using vitem[] instead.
-
Hye-Shik Chang yazdı
(Submitted by George Yoshida)
-
- 08 Mar, 2004 7 kayıt (commit)
-
-
Raymond Hettinger yazdı
* Defer error handling for wrong number of arguments to the unpack_iterable() function. Cuts the code size almost in half. * Replace function calls to PyList_Size() and PyTuple_Size() with their smaller and faster macro counterparts. * Move the constant structure references outside of the inner loops.
-
Brett Cannon yazdı
Side-effects were deemed unnecessary and were causing problems at shutdown time when threads were catching exceptions at start time and then triggering exceptions trying to call currentThread() after gc'ed. Masked the initial exception which was deemed bad. Fixes bug #754449 .
-
Raymond Hettinger yazdı
longer needed.
-
Raymond Hettinger yazdı
The writelines() method now accepts any iterable argument and writes the lines one at a time rather than using ''.join(lines) followed by a single write. Results in considerable memory savings and makes the method suitable for use with generator expressions.
-
Raymond Hettinger yazdı
The writelines() method now accepts any iterable argument and writes the lines one at a time rather than using ''.join(lines) followed by a single write. Results in considerable memory savings and makes the method suitable for use with generator expressions.
-
Kurt B. Kaiser yazdı
M ClassBrowser.py M ColorDelegator.py M EditorWindow.py M NEWS.txt M PyShell.py M TreeWidget.py M config-highlight.def M configDialog.py M configHandler.py
-
Vinay Sajip yazdı
-