Performance improvement in string/repeat

I've changed the string/repeat  algorithm, from using the array.join to bitwise operators, this way it always be fastest than the original one, more so if the number of times to repeat increases by a lot.