From 52e155e31bd6801b322420c9d95defd56cb5ca47 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sat, 16 Jun 2001 05:42:57 +0000 Subject: Reformat decl of new _PyString_Join. Add NEWS blurb about repr() speedup. --- Misc/NEWS | 3 +++ Objects/stringobject.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Misc/NEWS b/Misc/NEWS index 2bf6be4..bfbcc5f 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 24443d8..9a88d2f 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; -- cgit v0.12