←back to thread

220 points wonger_ | 1 comments | | HN request time: 0.206s | source
Show context
aranelsurion ◴[] No.42186730[source]
> Python version is super laggy, something to do with OpenCV

Most probably I'm wrong, but I wonder if it has anything to do with all the text being written to stdout. In the odd chance that it happens on the same thread, it might be blocking.

replies(2): >>42186797 #>>42191871 #
1. reynaldi ◴[] No.42191871[source]
Hmm, I couldn't remember if I tried it without the text being written to stdout. But that's an interesting point, I just didn't expect the print() blocking to be significant.