Remove redundant eval-and-compile expressions