SSLR-231 Optimize conversion of Text into array of chars