dimo414/bash-cache

Reduce the amount of eval-ed code

dimo414 opened this issue · 0 comments

Original report by Michael Diamond (Bitbucket: dimo414).


Using a placeholder function or some other template-based approach would reduce the amount of code that needs to be eval-ed for each dynamic invocation. Example from @zbentley: https://gist.github.com/zbentley/3832f31d33fb476c89bd2660b086b148