directly return the output, avoiding an allocation where possible
Merge pull request #4 from codemix/better-compiler

directly return the output where possible