Optimize performance with Batch Operations
masterInstead of chaining multiple styles which triggers multiple parsing cycles, use .applyingAll() to apply multiple styles in a single operation. This is more efficient for high-frequency styling.
// Traditional - multiple parsing cycles
let traditional = "Warning".red.bold.underline.italic
// Optimized - single parsing cycle
let optimized = "Warning".applyingAll(
color: .named(.red),
styles: [.bold, .underline, .italic]
)