-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
performancePerformance related improvements.Performance related improvements.
Description
The current parker implementation is quite naive as it is rarely used. It could be improved by using an intrusive linked list to avoid allocations.
We could also use OS futexes on architectures that support 64-bit futex values, or mixed-size atomic accesses. On x86 we might also be able use futex (see rust-lang/unsafe-code-guidelines#345), but unsure if we want to go there (also losing Miri support).
We could also just use parking-lot-core, but I don't think it's worth the dependency.
Metadata
Metadata
Assignees
Labels
performancePerformance related improvements.Performance related improvements.