Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[patch] provide Buffer.blit to avoid unnecessary allocation #4647
Original bug ID: 4647
Buffer should provide a blit operation, similar to String.blit, that allows the buffer's internal contents to be copied to another string without requiring an intermediate string to be allocated (as is done by Buffer.sub and Buffer.contents). Doing this can reduce GC churn, and lead to better performing applications.