[jira] Created: (MODPYTHON-93) Improve util.FieldStorage efficiency

2005-11-26 Thread Jim Gallacher (JIRA)
Improve util.FieldStorage efficiency Key: MODPYTHON-93 URL: http://issues.apache.org/jira/browse/MODPYTHON-93 Project: mod_python Type: Improvement Components: core Versions: 3.3 Reporter: Jim Gallacher Assigned t

[jira] Commented: (MODPYTHON-93) Improve util.FieldStorage efficiency

2005-11-26 Thread Jim Gallacher (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-93?page=comments#action_12358568 ] Jim Gallacher commented on MODPYTHON-93: The FieldStorage methods get, getitems, has_key, __len__, getfirst and getlist *all* iterate over the complete list of fiel

Re: [jira] Commented: (MODPYTHON-93) Improve util.FieldStorage efficiency

2005-11-26 Thread Gregory (Grisha) Trubetskoy
Having looked at the FieldStorage code, I'm guessing the idea was that you parse fields as they come in and append them to a list. This preserves the original order of fields, in case it is needed. I'm not sure that maintaining a dictionary alongside the list is the right thing to do. It mi