Re: [Vala] "precompiled" vapis



On Fri, 2009-11-27 at 12:20 +0100, Marc-André Lureau wrote:
On Fri, Nov 27, 2009 at 12:15 PM, pancake <pancake youterm com> wrote:
I was playing around gtk and curses and noticed a huge different in compile times
which I think it is caused because of the size of gtk+-2.0.vapi compared to
curses.vapi.

It will be nice to be able to precompile those .vapis in a binary form, so Vala can
directly load the AST instead of having to parse it.

What do you think about it?


Switching to gir might speed up things, especially if vala supports
the typelib format.

I would go into that direction instead, if it's possible.

As far as I can tell, parsing itself does not appear to be the limiting
factor, creating and resolving the AST is. I have some ideas how to
improve the situation by lazily creating the AST, however, bug fixing
appears to be more important right now.

Jürg




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