HackerTrans
TopNewTrendsCommentsPastAskShowJobs

redeyed

no profile record

comments

redeyed
·hace 5 años·discuss
Thanks for the source! I was trying to find that list with no luck.
redeyed
·hace 5 años·discuss
Watched this lectures 2 years ago and It's pretty solid!
redeyed
·hace 5 años·discuss
Again hammer to microscope comparison. Do you realize that your ignorance is bigger than Solar System?
redeyed
·hace 5 años·discuss
I don't think it will happen soon.

But what would be nice currently, is to create map reduce API w/o shared data or just readonly data.

Something like ProcessPoolExecutor but instead of spawning new process and pickling input/output data, create threads w/o GIL w/o pickling input/output data.
redeyed
·hace 5 años·discuss
There is such problem on Windows. When you create new process (spawn) it copies all memory of parent process.
redeyed
·hace 5 años·discuss
Yeah, had the exact problem.

I solved it by using python threads and C function (cv2.resize)
redeyed
·hace 5 años·discuss
> Also I pity the fool who tries to connect a debugger to code using multiprocessing.Pool()

PyCharm works fine
redeyed
·hace 5 años·discuss
Not "Python is Faster Than C++" but "When Python is Faster Than C++"