From: Brian H. <bri...@ql...> - 2003-06-17 15:55:15
|
On Tue, 17 Jun 2003, Nicolas Cannasse wrote: > > Just had an idea for ExtList.fold_right. Ok, there are basically two > > different possible implementations: the non-tail-recursive version: > [...] > > I might have solve the problem with a better implementation : This is a better implementation. The extra overhead is only a single increment per loop- maybe one extra clock cycle, possibly not even that. Brian |