-
Notifications
You must be signed in to change notification settings - Fork 3
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
Improvement try to add feature threading #4
Conversation
For now i have only converted the code to C++, so we can use std::chrono features and modern threading. I have to fix also these warnings:
|
- it seems now to be faster
Now i used |
With the last commit i'm testing pthreads features but i donìt see any improvements in the execution time, why this? |
I think that my implementation does simply run the computation in separate thread and do not distibute the computation in multiple threads. this should be done inside the |
Enhance nft marker creation with pthreads
First step
I will test if we can improve the speed up creation of the markers, for this reason will try to distrubute the calculation in multiple threads.
This PR provide the first step: convert the existing code from C to C++, as we will try to use
std::mutex
andstd::thread
.It also address issue #2 and #3.