swiftlang/swift

[SR-11805] Revisit Eager Bridging for the Hashed Collections

Open

#54,216 opened on Nov 19, 2019

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Swift (10,719 forks)batch import
good first issueimprovementstandard library

Repository metrics

Stars
 (69,989 stars)
PR merge metrics
 (Avg merge 8d 17h) (510 merged PRs in 30d)

Description

Previous ID SR-11805
Radar rdar://problem/57348898
Original Reporter @CodaFi
Type Improvement
Votes 0
Component/s Standard Library
Labels Improvement, StarterBug
Assignee None
Priority Medium

md5: 6107dcaf61168c23a89414ef63c35f48

Issue Description:

We had an active effort a few years ago to look into eager bridging for the hashed collections. That effort has unfortunately fizzled out due to age and neglect, but there are parts of it that may be salvageable in the current iteration of the standard library. An old reference implementation can be found at https://github.com/apple/swift/pull/5703, but that is now bitrotted. The general approach is still worthwhile, though, and we should try to update it and benchmark it again.

Who knows, there might finally be some real wins.

Contributor guide