Libraryless. Click here for Pure Java version (521L/4K/13K).
!752 static int n = 10, l = 1000000; p { byte[] data = new byte[l]; for i to l: data[i] = (byte) (i+1); print("Bytes=" + n*l); for i to 10: time { for j to n: { S md5 = md5(data); if (j == 0) print(md5); } } }
Began life as a copy of #1005712
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005713 |
Snippet name: | Test MD5 speed 2 (same bytes, fewer calls) |
Eternal ID of this version: | #1005713/1 |
Text MD5: | e945030e3e5fb03ff5d05f853364cf38 |
Transpilation MD5: | 627a97234a2f79cd9a17e23cb3ae324f |
Author: | stefan |
Category: | javax / benchmarking |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-04 13:49:25 |
Source code size: | 263 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 429 / 500 |
Referenced in: | [show references] |