remove some unnecessary overhead in typed Cython code
Merge pull request #3 from scoder/patch-1

remove some unnecessary overhead in typed Cython code