You may want to pre-compile yourFTextpattern into aFTextFormatprior to performing formats within a loop or on a critical path, as this can save CPU cycles, memory, and mutex resources vs re-compiling the pattern for each format call. SeeFTextFormatfor more info.