question.
Noname400 opened this issue · 9 comments
Good afternoon. I hope you don't mind using your product as part of my project. Of course with reference to you.
but it is very difficult to combine the work of python and data output from dll. whether it is possible to make that the data output is controlled or output to a separate variable, which is preferable, or even turned off.
in fact, I only need to know the speed.
I will be grateful for your help.
and thanks again for your hard work. you help make Python faster, and the work of many programmers is easier
Ok. No problem in reference.
Regarding the data output is currently controlled by dll itself but i can open it for customization from python side during the call function. Let me know which kind of display options will be ok.
Also i added a PreCompute branch which has some useful functions for the search although no chnge from display and no linux yet.
How can I control the output from the dll speed parameter. ?
to get it into a variable and output it in a controlled manner to the console.
I can hope for a positive decision ?
Decision is Positive but will be delayed. My relative in ICU.
Я понимаю. Сочувствую вам. Я подожду сколько нужно. Спасибо
I'm sorry, I probably didn't express myself correctly.
you have done almost everything you really wanted to integrate your script into another project.
but your dll all the same draws the conclusion itself and it is impossible to control this by a third-party project.
can it be done like this:
pvk_found, outer = run_cpu_kangaroo(tame_update_file, 0, range_en-range_st, dp, ncore, mx, rpub, dispset)
where outer is the output of the dll
in this case, it will be possible to display information from the dll in any place and at any desired time
The problem to get return value in outer will be that this function run_cpu_kangaroo has to end.
Currently it only ends when range of 72057 trillion is complete and controlled by -n.
The display itself is set every 2 sec. So if we end this function every 2 sec, then we have to call it every time in a loop and so the time to prepare everything will be hugely diminish the advantage of this algo.