I still don't know enough abut JS, it seems. Usually, compilers tend to optimize functions with a constant outcome, but eval could indeed be different.
Still, i don't think that plugin commands are really an issue here, since they are usually called infrequently and functions like update() would bother me much more. Sadly, i don't think there is a good alternative to aliasing that's generic enough to cover all cases. The best solution is probably not to use too many plugins and for scripters to only alias what they really need and handle as much as possible inside our own functions.
Still, i don't think that plugin commands are really an issue here, since they are usually called infrequently and functions like update() would bother me much more. Sadly, i don't think there is a good alternative to aliasing that's generic enough to cover all cases. The best solution is probably not to use too many plugins and for scripters to only alias what they really need and handle as much as possible inside our own functions.