speed up some code by replacing empty .split with .chars.to_a