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
[
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
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