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

4chan X should yield thread regularly during parsing to prevent locking browser #959

Open
ccd0 opened this issue Jun 8, 2016 · 1 comment

Comments

@ccd0
Copy link
Owner

ccd0 commented Jun 8, 2016

Like what's done here for running callbacks on posts
https://github.com/ccd0/4chan-x/blob/1.11.35.1/src/main/Main.coffee#L332-L348
except for parsing, which is currently one big for loop over all posts:
https://github.com/ccd0/4chan-x/blob/1.11.35.1/src/main/Main.coffee#L287-L299

@ccd0
Copy link
Owner Author

ccd0 commented Jul 12, 2016

This will be a lot cleaner with generators. #829

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant