Add a bit more type safety
Changed string matching to include string slice directly, to avoid uneccessary utf8 checks
Speedup with unsafe
Remove uneeded method
Speedup with unsafe
Style