Libraryless. Click here for Pure Java version (14604L/90K).
1 | static CompressionSearch.Submission runJECompressor(JEInstantCompressor compressor, byte[] data) { |
2 | CompressionRegime<S> regime = compressionRegime_JavaXEval(); |
3 | CompressionSearch<S> search = new(regime, data); |
4 | search.best.verboseNewBest = true; |
5 | S compressed = compressor.compress(data); |
6 | print(+compressed); |
7 | //print(decompressed := sfu(regime.runDecompressor(compressed)); |
8 | var s = search.submit(compressed); |
9 | //printStruct(toByteArray(s.decompressed())); |
10 | //printStruct(s.inputData()); |
11 | ret s; |
12 | } |
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: | 156 / 239 |
Version history: | 5 change(s) |
Referenced in: | [show references] |