improve performance of eval_impl on macro-expanded code