3 ms·
Still. You're likely to incur at least a few milliseconds of latency on the HTTP call, and most "eval" implementations I've worked with are prohibitively slow.
by lukev 17y ago
Still. You're likely to incur at least a few milliseconds of latency on the HTTP call, and most "eval" implementations I've worked with are prohibitively slow. I haven't benchmarked other languages, but I was using it in a Groovy app until I realized each call to eval was taking over 100ms. Even granting that Groovy is a dog, parsing from a string is non-trivial.
At that point I'd ask myself whether it was worth the trouble.