[Patches] [ python-Patches-685051 ] fix for 680789: reprs in arraymodule
SourceForge.net
noreply@sourceforge.net
Tue, 11 Feb 2003 18:07:13 -0800
Patches item #685051, was opened at 2003-02-11 20:45
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=685051&group_id=5470
Category: Modules
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: logistix (logistix)
>Assigned to: Raymond Hettinger (rhettinger)
Summary: fix for 680789: reprs in arraymodule
Initial Comment:
arraymodule's repr used "string += ',' + el" for each
element in the array. Lists and dicts did a string.join to
build the repr.
Attached patch builds a tuple of array elements and
then joins them.
This fixes the time issue, but I don't know enough about
how you guys manage memory in each case to tell what
impact that'll have on really, really big arrays (although I
imagine it takes more memory).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=685051&group_id=5470