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

Thread pool of configurable size #48

Closed
dvmorozov opened this issue Nov 26, 2019 · 0 comments
Closed

Thread pool of configurable size #48

dvmorozov opened this issue Nov 26, 2019 · 0 comments
Assignees

Comments

@dvmorozov
Copy link
Owner

dvmorozov commented Nov 26, 2019

Solution

  1. Goal is to improve performance of "brute force" search with parallel computing. ✔️
  2. The approach should be very similar to implemented with using of TRunner instance and is used inside loop. ✔️
  3. PointCloud should be attribute of "handler", because now different instances of handler should work with different data (rotated by different angles). ✔️
  4. TRunnerPool class should be designed maintaining pool of instances of TRunner class and having GetRunner method, which should wait until one of runners will be free. ✔️
  5. Initial angles of rotation are stored as attributes of TPointCloud because they are just extra attributes of the same entity (no needs to create additional container). ✔️

Related

#3

@dvmorozov dvmorozov added this to the 0.2 - extend architecture milestone Nov 26, 2019
@dvmorozov dvmorozov self-assigned this Nov 26, 2019
dvmorozov added a commit that referenced this issue Dec 4, 2019
dvmorozov added a commit that referenced this issue Dec 4, 2019
dvmorozov added a commit that referenced this issue Dec 5, 2019
dvmorozov added a commit that referenced this issue Dec 6, 2019
dvmorozov added a commit that referenced this issue Dec 8, 2019
dvmorozov added a commit that referenced this issue Dec 9, 2019
dvmorozov added a commit that referenced this issue Dec 9, 2019
dvmorozov added a commit that referenced this issue Dec 9, 2019
Thread pool was implemented for "brute force" search
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