Swift Practice Test

Swift Case Studies & Practical Application 5

Free · Instant Results

You're building a feature flag system. Flags are checked thousands of times per second. A dictionary-backed solution with `String` keys works but a colleague proposes using an enum. What is the runtime advantage?
▶ Start Practice Test