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


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to