[REBOL] Re: Gotcha!
From: atruter:labyrinth:au at: 19-Mar-2004 10:05
> It took a while to figure this out. I know I have seen this as a comment
> from someone in the docs somewhere sometime, but don't remember...
I can't recall whether I mentioned this at the time, but I have discovered
that "formating" and 'poking a block is significantly faster than the
typical insert loop.
a: make block! i
repeat c i [insert tail a c]
b: make block! i
insert/dup b none i
repeat c i [poke b c c]
On my PC the times are 5.64s and 3.67s respectively.