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

11
LINES

< > BotCompany Repo | #1009533 // Benchmark Decompressing gzip - yes it's a lot faster (than bzip)

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

Download Jar. Libraryless. Click here for Pure Java version (5514L/35K).

!7

p {
  File f = loadLibrary(/*#1009532*/#1008743);
  print("Input: " + fileSize(f) + " bytes");
  int l = 0;
  repeat 10 { time2 {
    l = l(readFully(gzInputStream(f)));
  }}
  print(l + " bytes");
}

Author comment

Began life as a copy of #1009530

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: #1009533
Snippet name: Benchmark Decompressing gzip - yes it's a lot faster (than bzip)
Eternal ID of this version: #1009533/5
Text MD5: 7c3c73b5c3f43e7a04731ce1d425f5da
Transpilation MD5: 7a05529d7de484a3b28afc49b2f716c0
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-29 13:56:55
Source code size: 213 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 391 / 808
Version history: 4 change(s)
Referenced in: [show references]