Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

offload downloading images for the search to separate thread #62

Open
nednoodlehead opened this issue Jul 16, 2024 · 0 comments
Open

offload downloading images for the search to separate thread #62

nednoodlehead opened this issue Jul 16, 2024 · 0 comments
Labels
performance making punge run better. will probably be put on the side-burner until it is very mature.

Comments

@nednoodlehead
Copy link
Owner

not sure if this requires another full unbounded sender setup (with associated SenderSent message) or if there is some way we can have like a generic offload thread that we can make an enum for, and subscription::batch the types we give it (like the Download example in iced repo) and we have all of the stuff we say "lets offload it to another thread."

we can also offload:
database functions (delete, update..)
file system operations (like removing the temp dir)
downloading thumbnails for videos (will speed up the video download by like 1% lol)

@nednoodlehead nednoodlehead added the performance making punge run better. will probably be put on the side-burner until it is very mature. label Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance making punge run better. will probably be put on the side-burner until it is very mature.
Projects
None yet
Development

No branches or pull requests

1 participant