Closed zendevil closed 3 years ago
Perhaps meditate on this comment: https://github.com/clj-python/libpython-clj/issues/112#issuecomment-671891733
I don't think this is fixable with our current level of tech. The JDK-16 pathway is going to be a bit faster but we can't call into python as fast as python can call into python; there is just too much to bridge there.
pytorch snippet:
"Elapsed time: 65831.100093 msecs"
time 21006.22010231018
The clojure code is about 4.4 times slower, in general about 3-7x whether the operation is repeated 5000, 50000 or 500000 times. Is there a way to get at the very least a constant overhead with clojure?
The repl sometimes closes unexpectedly. #113