faster primitive narrowing conversions
Merge pull request #601 from jvasileff/primitive-narrowing

faster primitive narrowing conversions