From github.com
2 2
✨ Add remove(where:) Method to Set and Dictionary in Swift ✨ Welcome to this exciting enhancement for the Swift language! 🚀 introducing the remove(where:) method for Set and Dictionary data structu...
13h ago
From swift.org
[Pitch] Add `remove(where:)` Method for `Set` and `Dictionary`
1 1
This proposal introduces a new method, remove(where:), for the Set and Dictionary data structures in Swift. The method provides a streamlined way to remove elements that satisfy a given condition, improving code readability, performance, and developer experience.
14h ago
From swift.org
[Pitch] Add `remove(where:)` Method for `Set` and `Dictionary`
1 1
@jordanekay I thought I was the only one noticing, felt like I was doing a Turing test 😅 Also this seems wrong. Iteration order is not deterministic in Set and Dictionary.
13h ago