From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QCojK-00040P-MN for garchives@archives.gentoo.org; Thu, 21 Apr 2011 07:55:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0FB51C039; Thu, 21 Apr 2011 07:55:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9525F1C039 for ; Thu, 21 Apr 2011 07:55:06 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EFFE11B4057 for ; Thu, 21 Apr 2011 07:55:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 1E644802C1 for ; Thu, 21 Apr 2011 07:55:03 +0000 (UTC) From: "Petteri Räty" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petteri Räty" Message-ID: Subject: [gentoo-commits] proj/libbash:master commit in: bashast/ X-VCS-Repository: proj/libbash X-VCS-Files: bashast/bashast.g X-VCS-Directories: bashast/ X-VCS-Committer: betelgeuse X-VCS-Committer-Name: Petteri Räty X-VCS-Revision: cbb62a2dd0c8a09c220b84832fb004977880050c Date: Thu, 21 Apr 2011 07:55:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 0094bc58fddcf665b6e709629eee027b commit: cbb62a2dd0c8a09c220b84832fb004977880050c Author: Petteri R=C3=A4ty petteriraty eu> AuthorDate: Wed Apr 20 15:20:16 2011 +0000 Commit: Petteri R=C3=A4ty gentoo org> CommitDate: Thu Apr 21 07:53:24 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/libbash.git;a= =3Dcommit;h=3Dcbb62a2d Parser: turn on memoize The massif and benchmark_parser make targets show that we benefit greatly from turning on memoization. --- bashast/bashast.g | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/bashast/bashast.g b/bashast/bashast.g index 21bbad4..f6e50b3 100644 --- a/bashast/bashast.g +++ b/bashast/bashast.g @@ -23,6 +23,7 @@ options output =3D AST; language =3D Java; ASTLabelType =3D CommonTree; + memoize =3D true; } tokens{ ARG;