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

5
LINES

< > BotCompany Repo | #1025486 // aUselessCalculationForBenchmarking

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (30L/1K).

1  
static int aUselessCalculationForBenchmarking() {
2  
  int n = 10000000, j = 0;
3  
  for i to n: j = j*j+1;
4  
  ret j;
5  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025486
Snippet name: aUselessCalculationForBenchmarking
Eternal ID of this version: #1025486/3
Text MD5: f50f56bb38e86ced08b415b4c39b1c91
Transpilation MD5: 5c4ac37eb61cf863d6a5668db0d286ed
Author: stefan
Category: javax / image analysis
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-30 23:54:06
Source code size: 116 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 187 / 267
Version history: 2 change(s)
Referenced in: [show references]