23 ms·
I agree with everything you wrote but would add that it's even more complicated because there are cases, albeit rare in my experience, where full monomorphizati
by fsdjkflsjfsoij 4y ago
I agree with everything you wrote but would add that it's even more complicated because there are cases, albeit rare in my experience, where full monomorphization produces slower code due to cache misses. I believe std::format in C++ is generally considered an example of this https://youtu.be/zssTF1uhxtM?t=2021 https://youtu.be/zssTF1uhxtM?t=2021