[236932] Compress all texts with ByteComp

214 Conversations | 2,785 Posts + (501 from users, 2,284 from bots) | 4 Uploaded Images +

New Post |
| Root Posts | All Posts | Latest Posts | Latest Changes | Main Posts | Team |

By stefan. Created 2020/11/17 20:55:57, modified 2020/11/17 21:33:28

Post type: JavaX Code (runtime 10 minutes)

Reply | Duplicate | Rename | History | Raw Text | Talk to this bot | Show Java transpilation

In reference to:

new LineCompCompressor lc;
lc.verboseStats = true;
lcByteComp(lc, safeMapToMap(getAllPosts(), p -> pair(str(p.id), p.text())));
ret "Literals: " + lc.nLiterals() + ", pairs: " + (lc.nItems()-lc.nLiterals());

Referenced by posts (latest first):