|
|
|
|
|
by nicoburns
2838 days ago
|
|
Something I've been thinking about a lot recently: would there be scope for a compiler mode which used virtual dispatch for generics (as well as trait objects) so as to speed up compile times? (and then you could compile the same code monomorphised for production). |
|
Its also fairly common to have code like:
That could be instead monomorphised to be saving the inlining of _do_it's code bloat/generation penalty.