Transpiled version (7545L) is out of date.
1 | static LineCompedSingle<Char> lineComp_compressTextAsChars(LineCompCompressor compressor default new LineCompCompressor, S text) { |
2 | SS data = litmap("" := lines_rtrim(lambdaMap charToHex(characters(text)))); |
3 | compressor.loadTexts(data); |
4 | compressor.verify = true; |
5 | compressor.run(); |
6 | |
7 | new L<Char> literals; |
8 | new L<IntPair> pairs; |
9 | for (LineCompCompressor.Chunk c : compressor.chunks) |
10 | if (c cast LineCompCompressor.CPair) |
11 | pairs.add(IntPair(c.i1, c.i2)); |
12 | else |
13 | literals.add(charFromHex(((LineCompCompressor.CPrim) c).s)); |
14 | ret new LineCompedSingle<Char>(literals, pairs, firstValue(compressor.finalEncodings)); |
15 | } |
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028258 |
Snippet name: | lineComp_compressTextAsChars |
Eternal ID of this version: | #1028258/14 |
Text MD5: | daad18236abc9aab69142b8f4662dce1 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-08 00:03:53 |
Source code size: | 653 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 279 / 427 |
Version history: | 13 change(s) |
Referenced in: | [show references] |