Sometimes, simple looking template interfaces and implementations have a hidden cost in increased compile times. In his latest blog post, Max Haughton shows some of those cases, explains what causes the increase, and shows how to rewrite your templates when possible to alleviate the problem.

The blog:
https://dlang.org/blog/2022/03/24/reducing-template-compile-times/

Reddit:
https://www.reddit.com/r/programming/comments/tmewno/reducing_template_compile_times_in_dlang/

Reply via email to