Re: Commented: (MODPYTHON-93) Improve util.FieldStorage
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Re: Commented: (MODPYTHON-93) Improve util.FieldStorage




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Commented: (MODPYTHON-93) Improve util.FieldStorage  
Gregory (Grisha) Trubetskoy


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-29-05 10:49 PM


On Tue, 29 Nov 2005, Jim Gallacher wrote:

> I still think the correct place to create the index dictionary is in the
> __init__ phase. Using the dictionary-on-demand idea only improves performa
nce
> on the second access to a form field. For the first access you are still
> iterating through the whole list for each field name.

I am still not convinced we need an index. I'd like to see some concrete
proof that we're not engaging in "overoptimization" here - is this really
a bottleneck for anyone?

If we're concerned (and I'm not at this point) that FieldStorage is too
slow, we should just rewrite the whole thing in C :-)

Grisha







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:35 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register