Michel Fortin napisał:

> As for the case of Appender... personally in the case above I'd be 
> tempted to use Appender.Impl directly (value semantics) and make fill 
> take a 'ref'. There's no point in having an extra heap allocation, 
> especially if you're calling test() in a loop or if there's a good 
> chance fill() has nothing to append to it.

Or take an output range.

-- 
Tomek

Reply via email to