Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NZMOr-0006im-M9 for mharc-grub-devel@gnu.org; Mon, 25 Jan 2010 05:42:29 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NZMOo-0006he-2K for grub-devel@gnu.org; Mon, 25 Jan 2010 05:42:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZMOn-0006hE-64 for grub-devel@gnu.org; Mon, 25 Jan 2010 05:42:25 -0500 Received: from [199.232.76.173] (port=35182 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZMOm-0006h6-Vi for grub-devel@gnu.org; Mon, 25 Jan 2010 05:42:25 -0500 Received: from qw-out-1920.google.com ([74.125.92.146]:15191) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NZMOm-0006It-N1 for grub-devel@gnu.org; Mon, 25 Jan 2010 05:42:24 -0500 Received: by qw-out-1920.google.com with SMTP id 9so68606qwj.24 for ; Mon, 25 Jan 2010 02:42:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=uNancShYl+X4XemGz4ZqpI4jTtQfcc8sOxqeiGBUJ00=; b=l0HDpkggrI4yU+K7pL8RK/fQOcfVa0ejHwPGmaOfrxTYpi3Qpn9NGZnNJu61ml5rxM tFbh0jYnkJrvYjA+Apg4ZwHuIhj0FiGzEzLSx/KI8QMG/d/1cyTwmiIAha+/notd0AOZ 1VUk2Mp6m92qs+KFabvG43yIbs4GKqnRu7bN4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=c7ogYiWmwY9whrW7pM5U5ysr9Vn5dTzpsxnrGlgo4e+u6cLimPsX5ZrgVcj2ZnIGco la8gBufa1Y0TtIAPVR+5sxQH0jKzDG+0NMJ40q0qISHfSMd62CnPWhL61I3fimjgWpl6 TFasD1qP+jeXv0FzqcS5VfElK5i8VGTGhex90= MIME-Version: 1.0 Received: by 10.220.122.68 with SMTP id k4mr385483vcr.6.1264416143138; Mon, 25 Jan 2010 02:42:23 -0800 (PST) In-Reply-To: <20100125075722.GH13584@thorin> References: <20100125075722.GH13584@thorin> Date: Mon, 25 Jan 2010 16:12:23 +0530 Message-ID: From: BVK Chaitanya To: The development of GNU GRUB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] [RESEND] GRUB script lexer rewrite using flex X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jan 2010 10:42:26 -0000 On Mon, Jan 25, 2010 at 1:27 PM, Robert Millan wrote: > On Sat, Jan 23, 2010 at 10:39:47AM +0530, BVK Chaitanya wrote: >> Attached is the updated patch with changes as per review comments (by >> phcoder). =A0With these changes sh.mod file size is reduced from 38K to >> 28K :-) > > Very nice! =A0But I thought the flex-based rewrite would involve some siz= e > increase. =A0Has this changed, or I'm missing something? > Yes, original non-flex lexer was only 15K. So we still have around 15K increase. First flex-lexer version resulted in 38K, but after implementing code review suggestions, it came down to 28K. I guess the reason might be because I replaced some macros with functions. --=20 bvk.chaitanya