On tis, 2008-08-26 at 16:24 -0600, Alex Rousskov wrote:
> ... but it should be passed by reference whenever possible to avoid the
> hidden overheads of refcounting. Every time we pass or return a String
> by value, we create and later destroy at least one copy of a String,
> which implies "locking" and "unlocking" the underlying buffer.

True, but only after a careful evaluation indicating that hard
references is safe in the context.

Regards
Henrik

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to