I’m trying to understand why there is such a performance difference calling eval vs. just typing it in. The difference doesn’t depend on whether the expression depends on any variables. How can I make the eval version much faster? I need to use eval because this is genetic programming code and the expressions are generated on the fly.

Thanks!

```
julia> ex=:(100+cos(4.0)/4.0*sin(1.0)+123.123)
:(100 + (cos(4.0) / 4.0) * sin(1.0) + 123.123)
julia> eval(ex)
222.9854944646596
julia> @btime eval(ex)
115.154 μs (54 allocations: 3.38 KiB)
222.9854944646596
julia> @btime 100+cos(4.0)/4.0*sin(1.0)+123.123
17.817 ns (0 allocations: 0 bytes)
222.9854944646596
```