Optimized SimpleFormatter

Optimized SimpleFormatter