Use more in-place transforms where possible
Merge pull request #259 from twpayne/more-in-place-transforms

Use more in-place transforms where possible