static double lcRepetitiveness(LineCompedSingle<Char> lc) { S a = uncompressLineCompedSingle(lc); S b = renderLineCompedSingleWithBrackets(lc); ret doublePercentRatio((l(b)-l(a))/2, l(a)); }
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: | #1028485 |
Snippet name: | lcRepetitiveness - repetitiveness factor of linecomped text |
Eternal ID of this version: | #1028485/3 |
Text MD5: | 443e2203d301c6076f66a5fbb4356f55 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-22 00:49:39 |
Source code size: | 200 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 220 / 253 |
Version history: | 2 change(s) |
Referenced in: | [show references] |