3 ms·
Yes our solution was to make all fallback functions into tail calls. It solves the problem, but requires a lot of discipline and can be a bit awkward. I recen
by haberman 4y ago
Yes our solution was to make all fallback functions into tail calls. It solves the problem, but requires a lot of discipline and can be a bit awkward.
I recently saw this, which is a very interesting approach for using non-tail-call fallback functions without trashing the code: https://chromium-review.googlesource.com/c/v8/v8/+/4116584 https://chromium-review.googlesource.com/c/v8/v8/+/4116584
- fwsgonzo 4y agoThat's very interesting! Thanks!