perf: only do expensive conversions in debug mode
Merge pull request #196 from humanchimp/master

only do expensive conversions in DEBUG mode