yOn Wed, 27 Jan 2016, Allin Cottrell wrote:
On Wed, 27 Jan 2016, Sven Schreiber wrote:
> Hi,
>
> thanks very much for the new version, the changelog is impressive!
>
> In my quest to be the first to find a bug here's my contribution to the
> competition:
>
> Menu Tools->Function packages -> on local machine, then right click on SVAR
> and choose "view code" (re-translated). For me gretl then doesn't react
> anymore (but haven't waited for long, admittedly).
I see what you mean: looks like we're going into an infinite loop somehow;
possibly connected with gtksourceview. I'll take a proper look at this later
today.
Ah, not actually an infinite loop, just a big, slow one. SVAR now has
2621 lines of hansl code and it turns out that loading this into
gtksourceview line by line is horrendously slow. (Watching on stderr
you can see it get slower and slower as it progresses; but this may
vary by gtksourceview library version?).
However, there's no need to load the code line by line, we can do it
in one big glob, and in that case the delay is minimal. Fixed in git
and snapshots.
Allin