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).

1  
static File zipToFullBalancedByteComp(File zip) {
2  
  ret zipToFullBalancedByteComp(zip, replaceExtension(zip, ".fbc"));
3  
}
4  
5  
static File zipToFullBalancedByteComp(File zip, File lc) {
6  
  new LineCompCompressor comp;
7  
  comp.fullCompression = true;
8  
  comp.byteMode = true;
9  
  comp.balancing = true;
10  
  comp.verboseStats = true;
11  
  comp.loadTexts(zipFileToStringMap(zip));
12  
  comp.run();
13  
  lcSaveToFile(comp, lc);
14  
  print("Zip:      " + renderFileInfo(zip));
15  
  print("LineComp: " + renderFileInfo(lc));
16  
  ret lc;
17  
}

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: 215 / 326
Version history: 4 change(s)
Referenced in: [show references]