[Python-bugs-list] [ python-Feature Requests-458253 ] pre-allocated dictionaries
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 10 Jun 2002 14:13:54 -0700
Feature Requests item #458253, was opened at 2001-09-03 23:12
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=355470&aid=458253&group_id=5470
Category: None
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 5
Submitted By: Guido van Rossum (gvanrossum)
Assigned to: Nobody/Anonymous (nobody)
Summary: pre-allocated dictionaries
Initial Comment:
Steve Kirsch (of Propel) expects that he may need to
pre-allocate a dictionary with a given hash table size,
to avoid frequent stops due to resizing. This would be
easy to add by using a keyword argument to dict_init(),
I believe. But note that Kirsch has no evidence yet of
a slowdown.
----------------------------------------------------------------------
>Comment By: Guido van Rossum (gvanrossum)
Date: 2002-06-10 17:13
Message:
Logged In: YES
user_id=6380
Let's call this a Yagni.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=355470&aid=458253&group_id=5470