In our previous episode, Martin Frb said: > Just because there is a function, that includes copying (when modifying > the array), does not mean there is copy on write.
So basically, if for a given size x, setlength(x,1) always reallocates, then it is COW, otherwise not :-) (and even if it does, one could still argue it is an implementation detail) _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal