Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@DGriffin91
Copy link
Contributor

Would it be possible to allow for resolve/submit on a different thread?

I'm currently using this to get some initial pipelined rendering working where the graph is built on one thread and then resolved/submitted on another.

Here's a screenshot from tracy with before and after.

image

@attackgoat
Copy link
Owner

I think Send is a reasonable constraint here, and it looks like you're saving 3ms!

This could also be accomplished by just keeping a Pool type on the worker thread, it's safe to create and drop at any time.

@attackgoat attackgoat merged commit 564883b into attackgoat:master Jul 19, 2024
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.

2 participants