[REBOL] Re: newlines
From: lmecir:mbox:vol:cz at: 15-Nov-2001 1:57
Hi all,
according to my measurements the CP function defined as follows:
use [b] [
b: make string! 1'000
cp: func [
string [any-string!]
value [any-string!]
range [any-string! integer!]
] [
change string head insert/part clear b value range
]
]
Where:
sample: insert/dup "" #"x" 30'000
Used as:
cp sample skip sample 1'000 skip sample 2'000
is almost 100 times faster than:
change/part sample skip sample 1'000 skip sample 2'000
Any comments?
Cheers
Ladislav