[PATCH] SRFI 41: Improve stream-constant and list->stream implementations

2015-11-03 Thread Chris Jester-Young
Attached is a patch to implement the changes detailed in http://srfi-email.schemers.org/srfi-41/msg/3066997, which improves the performance of `stream-constant` compared to the reference implementation. It probably doesn't improve performance against the Guile version (which is already O(1) per el

Re: [PATCH] SRFI 41: Improve stream-constant and list->stream implementations

2015-11-03 Thread Chris Jester-Young
On Tue, Nov 03, 2015 at 02:27:20PM +1300, Chris Jester-Young wrote: > Date: Tue, 3 Nov 2015 14:10:36 +1300 > From: Chris Jester-Young > Subject: [PATCH] SRFI 41: Improve stream-constant performance. > > See http://srfi-email.schemers.org/srfi-41/msg/3066997 for more details. > --- Please disrega