On Wednesday, 5 February 2014 at 09:48:21 UTC, Jordi Sayol wrote:
Including basic dmd "phobos" "druntime/import" when dcd-server is loaded, in my system takes about 10 seconds, and much more if I add i.e. gtkd (about 6 minutes!).

Is it possible to include them to the dcd-server cache by demand? This should be much faster.

i.e. dcd-server can read "only" the module names in the included paths at start up, and then load everything else when a specific module is imported in the source code. When a source file is open by the editor, add its imports to update dcd-server cache. If imported module has public imports, these modules should be loaded too.

If the server takes 6 minutes to do anything, that's a bug. Can you file this please?

Reply via email to