Added better checks to prevent extraneous computations if we can't take the fast path
Added better checks to prevent extraneous computations if we can't take the fast path

brunoais/TextFormatter,brunoais/TextFormatter,brunoais/TextFormatter,s9e/TextFormatter,s9e/TextFormatter,s9e/TextFormatter,s9e/TextFormatter