Improve the performance of sum()

Move some things to calling the *Internal methods,
which don't do patchpoint-checking, which wouldn't apply.

Reduce some unnecessary string-creation.
Cut down on unnecessary string copies