static new AtomicInteger optimizedJavaEval_bails; static O optimizedJavaEval(S code) { if (canQuickEval(code)) ret quickEval(code); Pair<S, L<S>> p = tok_parseFunctionCall(code); if (p != null && hasMethodNamed(mc(), p.a) && canQuickEvalAll(p.b)) // start simple ret callMC(p.a, toObjectArray(quickEvalAll(p.b))); incAtomicInt(optimizedJavaEval_bails); ret javaEval(code); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1015630 |
Snippet name: | optimizedJavaEval - try to interpret code if possible |
Eternal ID of this version: | #1015630/5 |
Text MD5: | 029bbb3e80178479f79bfb28939b1a2d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-20 13:00:51 |
Source code size: | 403 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 293 / 351 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1017575 - javaEvalOrInterpret - try to interpret code if possible; use callAndMake |