Open caspervonb opened 8 years ago
A proxy function currently looks something like the following:
function fn() { if (__function[0].length > 0) { __function[0] = eval(__function[0]); } return __function[0].apply(this, arguments); }
The eval statement here will prevent V8 from doing optimisation on the function.
eval
A proxy function currently looks something like the following:
The
eval
statement here will prevent V8 from doing optimisation on the function.