Skip to content

Conversation

Lukasa
Copy link
Contributor

@Lukasa Lukasa commented Jan 20, 2025

Motivation:

This patch takes advantage of the fast-path for isolated views on EmbeddedEventLoop, reducing overhead when using EmbeddedEL.

Modifications:

  • Implement the new witnesses in EmbeddedEL

Result:

EmbeddedEL is faster when using isolated views.

Motivation:

This patch takes advantage of the fast-path for isolated views
on EmbeddedEventLoop, reducing overhead when using EmbeddedEL.

Modifications:

- Implement the new witnesses in EmbeddedEL

Result:

EmbeddedEL is faster when using isolated views.
@Lukasa Lukasa added the 🔨 semver/patch No public API change. label Jan 20, 2025
in delay: TimeAmount,
_ task: @escaping () throws -> T
) -> Scheduled<T> {
self.scheduleTask(in: delay, task)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: do we want to add the same "because of the way EmbeddedEL works..." comment here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I'll add that

@Lukasa Lukasa enabled auto-merge (squash) January 20, 2025 16:44
@Lukasa Lukasa merged commit 0e9b837 into apple:main Jan 20, 2025
34 of 35 checks passed
@Lukasa Lukasa deleted the cb-fast-path-isolated-eel branch January 20, 2025 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants