Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: to pair! bug

From: holger:rebol at: 25-Apr-2002 11:21

On Thu, Apr 25, 2002 at 11:53:59AM +0200, Gabriele Santilli wrote:
> Hi Holger, > > On Thursday, April 25, 2002, 12:05:17 AM, you wrote: > > HK> any [ > HK> func1 > HK> to-none count: count + 1 > HK> func2 > HK> to-none count: count + 1 > HK> func3 > HK> ... > HK> ] > > That seems useful, indeed! BTW, since we are at it, would that be > more efficient than: > > any [ > func1 > (count: count + 1 none) > func2 > (count: count + 1 none) > func3 > ... > ]
I am not sure about execution time, but in terms of memory use it is more efficient, yes, because it avoids additional block series. -- Holger Kruse [kruse--nordicglobal--com]