Minor performance tweaks.

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
Merge pull request #115 from GordonSmith/MinorPerfTweaks

Minor performance tweaks.