Re: Question About lists

2003-01-01 Thread Andrew J Bromage
G'day all. On Wed, 1 Jan 2003, Andrew J Bromage wrote: > > It has quite different performance characteristics, though. In > > particular, this uses O(n) stack space whereas the accumulator one > > uses O(1) stack space. On Wed, Jan 01, 2003 at 12:17:10PM +0200, Shlomi Fish wrote: > This is ass

Re: Question About lists

2003-01-01 Thread Shlomi Fish
On Wed, 1 Jan 2003, Andrew J Bromage wrote: > G'day all. > > On Mon, Dec 30, 2002 at 01:47:37PM -0600, Artie Gold wrote: > > > One suggestion, though is that you're working too hard; there's really > > no reason to define a locally defined function. The much simpler: > > > > long [] = 0 > > long (