Moved strlen inside a for to just before on Redisent (small performance improve)