On 18-05-2019 18:59, Alex X wrote:
Seems that gtk is quite slow. I do include the lib on windows but I saw another thread about creating a shared library.
I'm including quite a lot of gtkd stuff since one kinda has to... is there any known way to speed up compilation? I change 1 little thing in my program(even removing a space or changing a sign) and it seems D has to recompile everything. I don't know why it's so slow since everything should be recompiled.
I'm not sure if dmd is taking time including the modules or what.
It takes about 10 seconds to compile the program, even when only 1 file changes. I realize that is not all that slow but seems like it should be faster given the simple changes.
Unless you are rebuilding GtkD every time, dmd uses that time to parse
the GtkD source files, and for linking the executable.
I don't think there is much to be done about that.