Adam_G
Adam_G

Reputation: 7879

Run octave faster

I am very new to GNU Octave, but need to run a script, foo.m that was written in octave. In java, I know it's possible to allocate more memory to a process, and thereby speed it up, using, e.g., -Xmx4g. Is there a similar option in octave?

Upvotes: 2

Views: 1123

Answers (1)

juliohm
juliohm

Reputation: 3779

In java, I know it's possible to allocate more memory to a process, and thereby speed it up, using, e.g., -Xmx4g. Is there a similar option in octave?

The answer for your question is no.

The only flag you can specify during startup of the Octave interpreter that may improve performance is --jit-compiler. For more info, read octave --help.

The jit compiler was a GSoC project in 2012 and was a proof of concept with fairly limited capabilities. Since it didn't really do much, it has been removed in Octave 7.

Modern Octave has no JIT compiler.

Upvotes: 3

Related Questions