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

10
LINES

< > BotCompany Repo | #1007601 // VM Weakener

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

Libraryless. Click here for Pure Java version (665L/5K/15K).

!7

p {
  int n = 1000000;
  S a = rep(n, 'a') + rep(n, 'b');
  S b = rep(n+10, 'a') + rep(n-10, 'b');
  int max = 100;
  while (true)
    time { print("max " + max + " => " + leven_limited(a, b, max)); }
}

Author comment

Began life as a copy of #1007598

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: #1007601
Snippet name: VM Weakener
Eternal ID of this version: #1007601/5
Text MD5: 2d2080769bd15584e64a5001d056ed92
Transpilation MD5: 21d2c167435c61b063b5e73a86b22ffb
Author: stefan
Category: javax / text
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-28 00:36:56
Source code size: 215 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 359 / 412
Version history: 4 change(s)
Referenced in: [show references]