2 ms·
Re: compilation speed, a story with happy end: Achieving 3.2x Faster Scala Compile Time Diagnostics: - A method that takes an additional, implicit parameter t
by AheadOfTime295 9y ago
Re: compilation speed, a story with happy end: Achieving 3.2x Faster Scala Compile Time
Diagnostics:
- A method that takes an additional, implicit parameter that needs to be filled in by the compiler
- the Scala compiler synthesized an argument for that parameter using macros
- instead of using an existing value in the implicit scope
Conclusion: that's why a small source file took so long to typecheck.
Details at https://jobs.zalando.com/tech/blog/achieving-3.2x-faster-scala-compile-time/ https://jobs.zalando.com/tech/blog/achieving-3.2x-faster-sca...