[EMAIL PROTECTED] wrote:
>Is there a refinement /deep for word with the refinement/dup ?
>
>If not, I think, that /dup as refinement for words like insert should be
>omitted in favour of the refinement /dup for the word copy.

Boy would that increase time and memory usage!

But, if you want to do that, to replace a theoretical
    insert dest copy/dup/deep src num
with
    loop num [dest: insert dest copy/deep src] dest: head dest
which should be about as fast.

Perhaps you should consider a copy-on-write strategy as a time
and memory saving measure. I know that many don't think about
such things today, but copy/deep takes time. Time and memory
considerations are even more important in interpreted code.

Brian Hawley

Reply via email to