One of the changes in R3 is that some of the more frequently used mezzanines are becoming native.
The append function is an example.
If I time the loop:
a: make string! 10000
loop 1000 [
loop 10000 [append a "x"]
It takes 15.3 seconds in R2, and 2.9 seconds in R3. So, about 500 percent faster in R3.
Here's the autodoc for the new append:
APPEND series value /part length /only /dup count
Inserts a value at tail of series and returns the series at head. (Modifies)
APPEND is an action value.
series -- Series at point to insert (Type: series! gob! port! object! bitset! typeset!)
value -- The value to insert (Type: any-type!)
/part -- Limits to a given length or position
length -- (Type: number! series! port! pair!)
/only -- Inserts a series as a series
/dup -- Duplicates the insert a specified number of times
count -- (Type: number! pair!)