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

Add priorities to tasks/dependencies #71

Open
JanKoelzer opened this issue Jan 4, 2018 · 1 comment
Open

Add priorities to tasks/dependencies #71

JanKoelzer opened this issue Jan 4, 2018 · 1 comment

Comments

@JanKoelzer
Copy link
Contributor

We talked about adding priorities to tasks/dependencies to improve the performance of evaluations. NextCallbacks and CompleteCallbacks with a high priority should be called earlier.

The implementation in https://github.com/JanKoelzer/reactive-async/tree/jan-prio-ThreadPoolExecutor uses a ThreadPoolExecutor instead of a ForkJoinPool to execute tasks. This might influence performance. So benchmarks to test the overall performance are appreciated.

(Not that this is based on the PR on lazy computation.)

@JanKoelzer
Copy link
Contributor Author

TODO: If #75 gets accepted, add priorities for sequential callbacks as well.

@JanKoelzer JanKoelzer mentioned this issue Dec 29, 2018
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

No branches or pull requests

1 participant