four times faster than Remove-each example :-)
print "=========="
probe length? foo: copy img/rgb
new: make binary! length? foo
probe delta-time [
parse foo [
here:
there:
any [
#{000000} (append/part new here there ) here: there:
| 3 skip there:
]
(append/part new here there )
]
]
probe length? new
results
; remove-each
==========
0:00:00.003395
19683
; parse with concatenated append
==========
0:00:00.000872
19683