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

17
LINES

< > BotCompany Repo | #1029546 // zipToFullBalancedByteComp

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

Uses 11335K of libraries. Click here for Pure Java version (8859L/58K).

static File zipToFullBalancedByteComp(File zip) {
  ret zipToFullBalancedByteComp(zip, replaceExtension(zip, ".fbc"));
}

static File zipToFullBalancedByteComp(File zip, File lc) {
  new LineCompCompressor comp;
  comp.fullCompression = true;
  comp.byteMode = true;
  comp.balancing = true;
  comp.verboseStats = true;
  comp.loadTexts(zipFileToStringMap(zip));
  comp.run();
  lcSaveToFile(comp, lc);
  print("Zip:      " + renderFileInfo(zip));
  print("LineComp: " + renderFileInfo(lc));
  ret lc;
}

Author comment

Began life as a copy of #1028789

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1029546
Snippet name: zipToFullBalancedByteComp
Eternal ID of this version: #1029546/5
Text MD5: efb126609572ecdf0e3dd14f19933244
Transpilation MD5: dcc4142d057c7db37eae01fcff0edfff
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-23 09:08:05
Source code size: 519 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 143 / 229
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)