From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: david.reitter@gmail.com Newsgroups: gmane.emacs.help Subject: Re: to big nest level of recursion Date: 4 Apr 2006 06:36:37 -0700 Organization: http://groups.google.com Message-ID: <1144157797.122350.104000@j33g2000cwa.googlegroups.com> References: <94630e.09.ln@acm.acm> <85mzfe21cv.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1144158060 26176 80.91.229.2 (4 Apr 2006 13:41:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Apr 2006 13:41:00 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 04 15:40:58 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FQllm-0003I1-3H for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Apr 2006 15:40:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FQlll-0002nb-L3 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Apr 2006 09:40:29 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!j33g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-NNTP-Posting-Host: 129.215.174.81 Original-X-Trace: posting.google.com 1144157802 19218 127.0.0.1 (4 Apr 2006 13:36:42 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 4 Apr 2006 13:36:42 +0000 (UTC) In-Reply-To: <85mzfe21cv.fsf@lola.goethe.zz> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.2) Gecko/20060331 Camino/1.0.0+,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: j33g2000cwa.googlegroups.com; posting-host=129.215.174.81; posting-account=VxtxShIAAAAyATreB9RNYoFcRu4SpMFVEC9YFuAlbPn1KBMEY3FC1g Original-Xref: shelby.stanford.edu gnu.emacs.help:138536 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34154 Archived-At: David Kastrup: > They cannot be formulated with iteration _without_ a stack. But of > course, when using a stack as a data structure, you can map any > recursion onto iteration. Yes, and such a stack is likely to be more space-efficient than a call stack, as it can be manually optimized to only contain what's necessary. The interesting question here is, of course, whether elisp should support recursion better than it does now, with larger call stacks and the necessary optimization. It has survived decades without it...