Libraryless. Click here for Pure Java version (627L/5K/15K).
!7 p { hugeLeven(10000); //hugeLeven(100000); hugeLeven(1000000); } svoid hugeLeven(int n) { S a = rep(n, 'a') + rep(n, 'b'); S b = rep(n+10, 'a') + rep(n-10, 'b'); print(n); time { print(" => " + leven(a, b)); } }
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: | #1007600 |
Snippet name: | Huge Levenshtein Test |
Eternal ID of this version: | #1007600/4 |
Text MD5: | b77ed9212cc751a81b0e17cb7f03e174 |
Transpilation MD5: | 99e30f4a9b2023fa179ba80ed2060f0d |
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:27:01 |
Source code size: | 243 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 478 / 555 |
Version history: | 3 change(s) |
Referenced in: | [show references] |