Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1005445 // Quick JavaX Eval Test [skip transpilation+compilation, works]

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (6486L/46K/153K).

1  
!7
2  
3  
p {
4  
  // JavaX code to evaluate
5  
  S code = "sqrt(2)";
6  
  
7  
  // turn optimization on
8  
  transpileRaw_useDiskCache = true;
9  
10  
  // evaluate ten times
11  
  for i to 10: time { print("XXX " + evalJava(code)); }
12  
}

Author comment

See https://medium.com/@stefanreich/very-quick-java-x-evaluation-3837017d94cc#.hgp4slc5j

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005445
Snippet name: Quick JavaX Eval Test [skip transpilation+compilation, works]
Eternal ID of this version: #1005445/4
Text MD5: c59d7a997bb1359d05aa954afaa81c74
Transpilation MD5: f46f932e4949cc353a33b796aa13449f
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-22 12:50:24
Source code size: 216 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 661 / 740
Version history: 3 change(s)
Referenced in: [show references]