3 ms·
Sure but will you get any benefit to offset the cost? Eval is typically used for dynamically generated code, otherwise why use eval in the first place? Evaling
by goto11 8y ago
Sure but will you get any benefit to offset the cost? Eval is typically used for dynamically generated code, otherwise why use eval in the first place? Evaling a hardcoded string constant seem completely useless to me so what would be the purpose of optimizing for that use case?
- pizlonator 8y agoI’ve definitely written uses of eval that have a large amount of stuff that doesn’t change. Pretty sure it’s common.