> works both perfect

@cblake's version works only if the length is power of two, my version should 
be more general

Reply via email to