Lambda is easy to reason about, since it is guaranteed to not have any side effects. To juggle the other kinds of expressions like this you&#x27;d need a more elaborate purity analysis. So, lambda is a very easy prey for the DCE.<p>Also, there are some specific optimisations, like beta-reduction and closure inlining.