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

12
LINES

< > BotCompany Repo | #1033097 // runJECompressor

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

Libraryless. Click here for Pure Java version (14604L/90K).

static CompressionSearch.Submission runJECompressor(JEInstantCompressor compressor, byte[] data) {
  CompressionRegime<S> regime = compressionRegime_JavaXEval();
  CompressionSearch<S> search = new(regime, data);
  search.best.verboseNewBest = true;
  S compressed = compressor.compress(data);
  print(+compressed);
  //print(decompressed := sfu(regime.runDecompressor(compressed));
  var s = search.submit(compressed);
  //printStruct(toByteArray(s.decompressed()));
  //printStruct(s.inputData());
  ret s;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033097
Snippet name: runJECompressor
Eternal ID of this version: #1033097/6
Text MD5: 2cdba46c15e8e33b1a8222fdb7827179
Transpilation MD5: 20fba874a31911f0ee6c01d527e41b45
Author: stefan
Category: javax / recognition by compression
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-15 19:30:13
Source code size: 521 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 155 / 237
Version history: 5 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)