Runs very slow and cannot reuse session in my setting
Hello, thank you for this package! I installed ob-sagemath and sage-shell-mode, and thankfully it works.
However, the performance is a bit slow on my setting, and also the session cannot be re-used. I wonder if I have missed something.
1
#+BEGIN_SRC sage :session foo
1+1
#+END_SRC
This code block takes 6 seconds to evaluate. Is this normal?
2
#+BEGIN_SRC sage :session foo
1+1+1
#+END_SRC
In the same session, lets say I change my code to 1+1+1. This time it tries to evaluate, but doesn't give an output for 60 seconds. Changing foo to fooo does solve this question. I suspect that in my setting, a session can only be used properly one time.
I found a way to escape this issue, by simply not using session.
#+begin_src sage test.sage
1+1
#+end_src
This runs fast, and can be re-evaluated without problems.
Thank you! I finally found a nice IDE for sage-math.
This is weird, and I apologize.. but my method above stop working well.
It seems to be a problem of sage-shell-mode but not ob-sagemath.. haven't looked into the source code, I cannot judge. That said, the issue is taken care of again by following the fix of this issue.