I mostly meant having the call site take care of the slicing, rather than appender itself. In any case, after thinking about it, I think the new code is OK.