This avoids some unnecessary string copying. --HG-- extra : rebase_source : a81a5e1612be2897a4285f5f395e7cb3ed006bc8