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
This archive was generated by hypermail 2.2.0 : Wed Aug 27 2008 - 12:00:06 MDT