Add some funsafe optimizations.
Add some funsafe optimizations.

I've heard that C(++) is fast, but I think it could be faster.

this-should-never-happen/this-should-never-happen,this-should-never-happen/this-should-never-happen,this-should-never-happen/this-should-never-happen,this-should-never-happen/this-should-never-happen