From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aemon Cannon Newsgroups: gmane.emacs.devel Subject: Re: Difficulties byte-compiling very large .el file Date: Thu, 20 Aug 2009 10:29:05 -0400 Message-ID: <794057160908200729k5ce6b2d5j555481b76bcc24c5@mail.gmail.com> References: <794057160908191449t4b23080cjf2b85cb0f8e4f589@mail.gmail.com> <794057160908200607h50353f90o3bd175f1fca84e47@mail.gmail.com> Reply-To: aemoncannon@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1250778685 26650 80.91.229.12 (20 Aug 2009 14:31:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Aug 2009 14:31:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 20 16:31:18 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Me8fZ-0004PB-NJ for ged-emacs-devel@m.gmane.org; Thu, 20 Aug 2009 16:31:14 +0200 Original-Received: from localhost ([127.0.0.1]:42019 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Me8fZ-0007uP-43 for ged-emacs-devel@m.gmane.org; Thu, 20 Aug 2009 10:31:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Me8db-00070h-Hk for emacs-devel@gnu.org; Thu, 20 Aug 2009 10:29:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Me8dX-0006zn-4E for emacs-devel@gnu.org; Thu, 20 Aug 2009 10:29:11 -0400 Original-Received: from [199.232.76.173] (port=39384 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Me8dW-0006zj-UG for emacs-devel@gnu.org; Thu, 20 Aug 2009 10:29:06 -0400 Original-Received: from mail-vw0-f182.google.com ([209.85.212.182]:59770) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Me8dW-0007UV-Gv for emacs-devel@gnu.org; Thu, 20 Aug 2009 10:29:06 -0400 Original-Received: by vws12 with SMTP id 12so4922605vws.24 for ; Thu, 20 Aug 2009 07:29:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=x+Plrvpk0eYblxepJn0y0irlLh8wJ97sjoGZhr3y9+I=; b=lAr5Df/4ayCdATDTDrw+l/m2Sm0aq17vX36eN/Cr7TDDSqkHJRAeCjqTVYECQt7SzP Ps4FnVmzgGxQG1HcAv6TOvCWQgJEF4o0cD4TnYQ6j9KG+R5GBZYDShcfGm5Tknudg59C qu86QngAIAP/uaMh6HZ3rm8eZLHYwNU6OT5dM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; b=CjzeAQYD0Zg6GBhX63eFaeu1Z7SAi76cXcjIk/w1XSOX2d9OWoUYjV2GPrGJHdLrMr ZPMw8IDjQbZO24ESCZO8nCQKYA1bSjLg3n8j7JqLti+SZvxX0Xez8PEKjysypkmtOLKR egjnqnDL1dYxTfpttxnjgdr7XXxKgX/bxiXPU= Original-Received: by 10.229.15.203 with SMTP id l11mr3182746qca.43.1250778545692; Thu, 20 Aug 2009 07:29:05 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114444 Archived-At: I can't really do that. The idea is for these parsers to be used interactively in language modes, so they need to be fast. Macro use has been crucial in this area. Also, ActionScript 3 is not the most complicated grammar in the world. What happens when a bigger parser overflows my guess for the value of 'less' ? On Thu, Aug 20, 2009 at 9:23 AM, Andreas Schwab wrot= e: > Aemon Cannon writes: > >> Should I look for a conditional that spans a lot of code, and try to >> fix it that way? > > Use less macros. > > Andreas. > > -- > Andreas Schwab, schwab@linux-m68k.org > GPG Key fingerprint =3D 58CA 54C7 6D53 942B 1756 =A001D3 44D5 214B 8276 4= ED5 > "And now for something completely different." >