Skip to content

Default to running the event loop on the main thread#28

Merged
jeremyevans merged 1 commit into
ruby:masterfrom
jeremyevans:run_on_main_thread-26
Mar 23, 2021
Merged

Default to running the event loop on the main thread#28
jeremyevans merged 1 commit into
ruby:masterfrom
jeremyevans:run_on_main_thread-26

Conversation

@jeremyevans

Copy link
Copy Markdown
Collaborator

This provides a massive speedup. From the sound of this, you would
think this would cause blocking of the user interface while the
Ruby code runs. However, that happens regardless of this setting,
so I'm not sure what advantages there are to running the eventloop
on a separate thread.

Fixes #26

This provides a massive speedup. From the sound of this, you would
think this would cause blocking of the user interface while the
Ruby code runs.  However, that happens regardless of this setting,
so I'm not sure what advantages there are to running the eventloop
on a separate thread.

Fixes ruby#26
@jeremyevans
jeremyevans requested a review from hsbt January 6, 2021 22:29
@jeremyevans

Copy link
Copy Markdown
Collaborator Author

I plan to commit this next week unless I hear objections.

@jeremyevans
jeremyevans merged commit 85d228a into ruby:master Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tk decreases load speed of others gems loading after it

1 participant