help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Speed up startup of octave


From: Francesco Potortì
Subject: Re: Speed up startup of octave
Date: Fri, 23 Aug 2013 11:52:07 +0200

>I am constantly shelling out of a text editor (vim) to pipe text into
>octave.  But octave takes seconds to launch each time.  Is there a way to
>speed it up?
>
>As a nonideal solution, I can keep a command line window open with an
>interactive octave session constantly running, then use it to repeatedly
>source a script for which I have a separate edit session constantly
>open.

Why you call your solution "nonideal"?  I think it is by far the most
straightforward and commonly used one.  I definitely recommend it,
unless you go for more complex setups (I use Emacs, where I edit the
file in a buffer, and un Octave in a different one).

>can have a second edit session open for the output of the repeatedly sourced
>script.  This is way less convenient than simply shelling out of a single
>edit session, without having to use an extra window for octave.

Normal window emulators allow you to go back and look at the previous
output, so for simple tasks you do not need a new session of vi.  Also,
Octave by default pages its output, so as far as the current command
output is concerned, you can just use the pager.

For more sophisticated needs, I'd recommend Emacs or something similar
(maybe Eclipse can do most of this).

-- 
Francesco Potortì (ricercatore)        Voice:  +39.050.621.3058
ISTI - Area della ricerca CNR          Mobile: +39.348.8283.107
via G. Moruzzi 1, I-56124 Pisa         Skype:  wnlabisti
(entrance 20, 1st floor, room C71)     Web:    http://fly.isti.cnr.it


reply via email to

[Prev in Thread] Current Thread [Next in Thread]