From: Tim Peters Date: Sat, 16 Jun 2001 05:42:57 +0000 (+0000) Subject: Reformat decl of new _PyString_Join. Add NEWS blurb about repr() speedup. X-Git-Tag: v2.2a3~1542 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52e155e31bd6801b322420c9d95defd56cb5ca47;p=python Reformat decl of new _PyString_Join. Add NEWS blurb about repr() speedup. --- diff --git a/Misc/NEWS b/Misc/NEWS index 2bf6be49fe..bfbcc5f832 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -126,6 +126,9 @@ Core faster now. Thanks to Christian Tismer for pointing out the cause and the nature of an effective cure (last December! better late than never). +- repr() is much faster for large containers (dict, list, tuple). + + Library - A new function fnmatch.filter to filter lists of file names was added. diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 24443d8323..9a88d2facc 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -1031,7 +1031,8 @@ string_join(PyStringObject *self, PyObject *args) return res; } -PyObject *_PyString_Join(PyObject *sep, PyObject *x) +PyObject * +_PyString_Join(PyObject *sep, PyObject *x) { PyObject* args; PyObject* result = NULL;