Libraryless. Click here for Pure Java version (2584L/17K).
1 | // A = type of literals (e.g. String) |
2 | // B = ID for files (e.g. String) |
3 | static noeq record LineComped<A, B>(L<A> literals, L<IntPair> pairs, Map<B, L<Int>> files) { |
4 | long roughCount() { ret l(literals) + l(pairs)*2 + totalLength(values(files)); } |
5 | } |
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: | #1028253 |
Snippet name: | LineComped - result of LineComp compression |
Eternal ID of this version: | #1028253/4 |
Text MD5: | b75c11a1b7cfa74a25f5a408e25151a3 |
Transpilation MD5: | 28978dbec1cb079d45be1f4f523dc085 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-05-29 12:28:11 |
Source code size: | 253 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 236 / 555 |
Version history: | 3 change(s) |
Referenced in: | [show references] |