From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Luis Lavena" Newsgroups: gmane.comp.lang.ruby.mongrel.devel Subject: Re: [PATCH] http11: ~6% performance increase in header parsing Date: Sat, 8 Mar 2008 10:37:53 -0200 Message-ID: <71166b3b0803080437w2809929ajc5bf9ec022c1512c@mail.gmail.com> References: <20080229015309.GA9080@untitled> <20080303044659.5a550c19.zedshaw@zedshaw.com> <20080302123712.GA13979@hand.yhbt.net> <20080306075421.GA1583@hand.yhbt.net> <3ae7f4480803060153v18e955a5j9038f93e558f81d1@mail.gmail.com> <20080308081210.GA30702@hand.yhbt.net> Reply-To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1204979907 30883 80.91.229.12 (8 Mar 2008 12:38:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Mar 2008 12:38:27 +0000 (UTC) To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Original-X-From: mongrel-development-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Sat Mar 08 13:38:54 2008 Return-path: Envelope-to: gclrmd-mongrel-development@m.gmane.org In-Reply-To: <20080308081210.GA30702-r0bfCMRs158eIZ0/mPfg9Q@public.gmane.org> Content-Disposition: inline X-BeenThere: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: mongrel-development-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: mongrel-development-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Xref: news.gmane.org gmane.comp.lang.ruby.mongrel.devel:3 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.50) id 1JXyK8-0006bq-Ho for gclrmd-mongrel-development@m.gmane.org; Sat, 08 Mar 2008 13:38:48 +0100 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 9DA8E1858707; Sat, 8 Mar 2008 07:38:10 -0500 (EST) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.184]) by rubyforge.org (Postfix) with ESMTP id 0ADD61858707 for ; Sat, 8 Mar 2008 07:37:55 -0500 (EST) Received: by rv-out-0910.google.com with SMTP id f5so615251rvb.59 for ; Sat, 08 Mar 2008 04:37:53 -0800 (PST) Received: by 10.140.170.12 with SMTP id s12mr1737828rve.101.1204979873453; Sat, 08 Mar 2008 04:37:53 -0800 (PST) Received: by 10.114.151.14 with HTTP; Sat, 8 Mar 2008 04:37:53 -0800 (PST) List-Post: On Sat, Mar 8, 2008 at 6:12 AM, Eric Wong wrote: > > Unless we use something like ERB to generate this code for both Ragel > and C, I'm not sure it's worth the effort to go through with all the > extra code. > I think is not worth the effort, and also add complexity to the code generation, which should be the simpler as possible. > Yes. At the same time, I'm not sure if I should force every other > developer to upgrade... Evan? Zed? Well, the Ragel compilation is not run every time, but only when the parser get updated, so I can say will be fine the most common cases (developers playing with mongrel code already handle the ragel compiled code). -- Luis Lavena Multimedia systems - A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. Douglas Adams