3 ms·
> Is there a trade off in being stack efficient and speed? It's just rust being slightly less efficient: it spends instructions doing unnecessary stack-to-stac
by masklinn 4y ago
> Is there a trade off in being stack efficient and speed?
It's just rust being slightly less efficient: it spends instructions doing unnecessary stack-to-stack copies, and has larger stackframes (to hold the redundant copies, which can be an issue both with deep recursion and for inlining).