From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: freeing srcprops ? Date: Fri, 19 Jan 2007 10:28:28 +1100 Message-ID: <87fya7ap9f.fsf@zip.com.au> References: <45AF7E7F.1000600@xs4all.nl> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1169162939 15988 80.91.229.12 (18 Jan 2007 23:28:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 18 Jan 2007 23:28:59 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Jan 19 00:28:55 2007 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H7ggg-0007fB-LP for guile-devel@m.gmane.org; Fri, 19 Jan 2007 00:28:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H7ggh-00045Q-Gx for guile-devel@m.gmane.org; Thu, 18 Jan 2007 18:28:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H7ggd-00043p-Lq for guile-devel@gnu.org; Thu, 18 Jan 2007 18:28:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H7ggc-000427-9c for guile-devel@gnu.org; Thu, 18 Jan 2007 18:28:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H7ggc-00041G-5l for guile-devel@gnu.org; Thu, 18 Jan 2007 18:28:50 -0500 Original-Received: from [61.8.2.231] (helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H7gga-0000w5-12 for guile-devel@gnu.org; Thu, 18 Jan 2007 18:28:48 -0500 Original-Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout2.pacific.net.au (Postfix) with ESMTP id 1FB7810D05D; Fri, 19 Jan 2007 10:28:43 +1100 (EST) Original-Received: from localhost (ppp2EA5.dyn.pacific.net.au [61.8.46.165]) by mailproxy2.pacific.net.au (Postfix) with ESMTP id CFB9227403; Fri, 19 Jan 2007 10:28:44 +1100 (EST) Original-Received: from gg by localhost with local (Exim 4.63) (envelope-from ) id 1H7ggG-0001eI-5e; Fri, 19 Jan 2007 10:28:28 +1100 Original-To: hanwen@xs4all.nl Mail-Copies-To: never In-Reply-To: <45AF7E7F.1000600@xs4all.nl> (Han-Wen Nienhuys's message of "Thu, 18 Jan 2007 15:04:47 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:6446 Archived-At: Han-Wen Nienhuys writes: > > SCM > scm_make_srcprops (long line, int col, SCM filename, SCM copy, SCM plist) > { > + if (!SCM_UNBNDP (filename)) > + plist = scm_acons (scm_sym_filename, filename, plist); Can those two cells be shared among all source props for the same file, to save space? > + SCM_RETURN_NEWSMOB3 (scm_tc16_srcprops, > + SRCPROPMAKPOS (line, col), If col is a freaky big value then perhaps put it in the plist. Could be helpful if there's stupidly long lines in some generated code file, wouldn't cost anything normally. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel