Skip to content

Runs very slow and cannot reuse session in my setting #8

Open
@jcguu95

Description

@jcguu95

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions