@dolmen mentioned that it might be better to use `let` here. Is `expr` a performance issue? I believe that `let` would make the code less readable, but I would be happy to see how it can be made better.