Because compiling a file may trigger further work, such as export dependencies, and they also need to be verified by the group pass, which is only invoked after all files have been compiled.
So compiling a file is only part of the work and in order to support partial compilation we would need to be able to store that a file was compiled but not really gone through all hops, and I believe this is going to be non trivial. Plus, if we get it wrong, it will likely lead to hard to debug bugs and scenarios. On Wed, Jun 23, 2021 at 04:52 Marc-André Lafortune <[email protected]> wrote: > On Tue, Jun 22, 2021 at 1:29 PM José Valim wrote: > > Oh, just now I understand your previous point: we could simply order the > files by their last modified time. > The most recently modified is likely > the one we should try first anyway. This seems like a very trivial change > to make, I am on it. > > Super, thanks, this should help :-) > > The question remains: why can't we add the successfully compiled files to > the manifest and thus avoid recompiling them completely in the future? > > -- > You received this message because you are subscribed to the Google Groups > "elixir-lang-core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elixir-lang-core/09271eb3-820e-4d51-9dd7-89af8ec9cc49n%40googlegroups.com > <https://groups.google.com/d/msgid/elixir-lang-core/09271eb3-820e-4d51-9dd7-89af8ec9cc49n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4L7iHbJziRKWPToWBYghUX9m4jLe8c_0Arm1LBrp8tUFg%40mail.gmail.com.
