Optimised buffer append