allow eq function to compare equivalent types

Hey Rob,

sorry for the delay playing with tests and benchmarks was just too much fun

Had an interesting finding, wen comparing two []byte comparing strings
a stack exception happens also removing the default case did't slow
things down. It seems the compiler optimizes that by itself.