Guess what: did the # AI generate loads of `DateFormatter` objects and cause 200% CPU usage when scrolling, or did it correctly use `FormatStyle`? # swiftui # s
An AI model generated a large number of `DateFormatter` objects, leading to a 200% CPU usage spike during scrolling. This issue was observed in the context of SwiftUI development, suggesting a potential inefficiency or bug in how the AI is handling date formatting tasks. AI
IMPACT Potential for developers to encounter performance issues when using AI for code generation related to date formatting.