HackerTrans
TopNewTrendsCommentsPastAskShowJobs

redeyed

no profile record

comments

redeyed
·5 tahun yang lalu·discuss
Thanks for the source! I was trying to find that list with no luck.
redeyed
·5 tahun yang lalu·discuss
Watched this lectures 2 years ago and It's pretty solid!
redeyed
·5 tahun yang lalu·discuss
Again hammer to microscope comparison. Do you realize that your ignorance is bigger than Solar System?
redeyed
·5 tahun yang lalu·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
·5 tahun yang lalu·discuss
There is such problem on Windows. When you create new process (spawn) it copies all memory of parent process.
redeyed
·5 tahun yang lalu·discuss
Yeah, had the exact problem.

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

PyCharm works fine
redeyed
·5 tahun yang lalu·discuss
Not "Python is Faster Than C++" but "When Python is Faster Than C++"