assertArrayEquals performance and const improvement

the passed in arrays can be const

the length to travel need only be computed once.

I have another commit in place to remove some redundancy and also to add printf style assert message which are extremely handy.