This comes at a small performance cost due to an additional memory allocation, but that is not significant currently.