On Jun 17, 9:29 am, Joost Baaij <[email protected]> wrote:
> Yes there are: multipart forms send more data since every field has its own 
> MIME header. From RFC2388:
>
> "The multipart/form-data encoding has a high overhead and performance impact 
> if there are many fields with short values. However, in practice, for the 
> forms in use, for example, in HTML, the average overhead is not significant."
>
> If this overhead was deemed not significant in August 1998, in my opinion it 
> is even less significant now and this is a change we could make without any 
> problems.

I don't think multipart parsing is very expensive nowadays, but I have
some doubts about the efficiency of the Rails/Rack multipart parser.
It performs a lot of string operations and if it creates a tempfile
even for small files then it can totally kill parsing performance.

Someone should benchmark this stuff.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to