Я плохо выразился, я не особо готов
чисто ради статистики (которой мы весной 2023г не сильно заморачивались) терпеть увеличение логов с 4ГБ до 40ГБ (если хранить не с len=17, а с len=15), а тем более ещё короче цепочки.
Статистика по valids для len=17:
Код:
valids=5:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 10, 5], sum=21
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 4, 6, 4, 3, 0, 1, 1], sum=21
valids=6:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 33, 104, 50, 7, 3], sum=201
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 4, 5, 10, 18, 48, 50, 33, 20, 10, 2], sum=201
valids=7:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 24, 0, 0, 0, 0, 0, 297, 738, 211, 72, 7], sum=1357
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 8, 16, 48, 81, 193, 301, 284, 241, 128, 42, 10, 3], sum=1357
valids=8:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 52, 215, 0, 0, 0, 0, 0, 1245, 3273, 947, 301, 46], sum=6080
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 20, 29, 69, 105, 226, 472, 932, 1321, 1340, 908, 459, 157, 35, 5], sum=6080
valids=9:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 236, 1014, 0, 0, 0, 0, 0, 4172, 9919, 2910, 881, 95], sum=19241
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 15, 70, 170, 327, 511, 885, 1835, 3158, 4177, 3862, 2548, 1188, 404, 78, 9, 1], sum=19241
valids=10:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 45, 792, 3017, 0, 0, 0, 0, 0, 9414, 21676, 5826, 1610, 181], sum=42561
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 11, 84, 288, 666, 1073, 1421, 2500, 4516, 7303, 8728, 7952, 5015, 2195, 673, 119, 15], sum=42561
valids=11:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 73, 1655, 6082, 0, 0, 0, 0, 0, 14185, 31276, 7896, 2299, 270], sum=63736
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 64, 250, 715, 1482, 2242, 2811, 4262, 7450, 11240, 12823, 10511, 6284, 2692, 739, 137, 18], sum=63736
valids=12:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 120, 2258, 8286, 0, 0, 0, 0, 0, 14350, 29739, 7208, 1996, 227], sum=64184
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 19, 107, 437, 1176, 2197, 2935, 3561, 4931, 7970, 11181, 12063, 9568, 5312, 2046, 572, 93, 10, 2], sum=64184
valids=13:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 116, 2148, 6552, 0, 0, 0, 0, 0, 9172, 18066, 4192, 1130, 131], sum=41507
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 31, 147, 483, 1105, 1924, 2446, 2737, 3491, 5457, 6868, 7243, 5357, 2824, 1086, 257, 39, 10], sum=41507
valids=14:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 70, 1102, 3400, 0, 0, 0, 0, 0, 3606, 6675, 1426, 385, 40], sum=16704
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 17, 99, 300, 694, 1052, 1246, 1175, 1534, 2190, 2671, 2610, 1772, 885, 357, 82, 17, 2], sum=16704
valids=15:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 287, 850, 0, 0, 0, 0, 0, 748, 1360, 307, 65, 7], sum=3641
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 30, 97, 196, 267, 294, 269, 363, 489, 518, 516, 345, 161, 66, 13, 6, 1], sum=3641
valids=16:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 46, 113, 0, 0, 0, 0, 0, 70, 130, 30, 10, 1], sum=402
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 19, 25, 38, 38, 34, 39, 51, 49, 41, 34, 15, 8], sum=402
valids=17:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 6, 5, 1], sum=16
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 3, 3, 0, 2], sum=16
Ну чтобы два раза не вставать, и по len=18:
Код:
valids=5:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 1], sum=3
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1], sum=3
valids=6:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 5, 13, 5, 1], sum=25
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 5, 3, 2, 7, 3, 1, 1], sum=25
valids=7:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 5, 0, 0, 0, 0, 0, 45, 99, 48, 22], sum=223
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 4, 8, 7, 26, 40, 46, 46, 27, 9, 4, 1], sum=223
valids=8:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 32, 0, 0, 0, 0, 0, 217, 662, 210, 55, 12], sum=1196
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 9, 13, 38, 71, 163, 250, 256, 224, 109, 45, 13, 1], sum=1196
valids=9:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 191, 0, 0, 0, 0, 0, 905, 2375, 724, 232, 35], sum=4490
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 11, 12, 45, 101, 169, 303, 675, 968, 1008, 720, 329, 118, 26, 3], sum=4490
valids=10:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 159, 603, 0, 0, 0, 0, 0, 2418, 6053, 1796, 527, 73], sum=11641
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 14, 42, 113, 214, 278, 555, 1045, 1911, 2460, 2398, 1585, 759, 214, 44, 7], sum=11641
valids=11:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 360, 1536, 0, 0, 0, 0, 0, 4593, 10714, 2856, 846, 94], sum=21007
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 51, 115, 357, 554, 726, 1228, 2231, 3673, 4444, 3778, 2428, 1027, 306, 73, 9], sum=21007
valids=12:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, 672, 2434, 0, 0, 0, 0, 0, 5658, 12479, 3126, 869, 96], sum=25360
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 20, 91, 275, 586, 906, 1123, 1698, 2955, 4477, 5038, 4209, 2609, 996, 312, 56, 4], sum=25360
valids=13:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42, 785, 2621, 0, 0, 0, 0, 0, 4676, 9593, 2385, 618, 65], sum=20785
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 5, 36, 136, 374, 693, 960, 1167, 1609, 2592, 3662, 3830, 3080, 1753, 625, 227, 33, 2], sum=20785
valids=14:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 543, 1658, 0, 0, 0, 0, 0, 2322, 4646, 1038, 283, 26], sum=10538
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 33, 100, 279, 492, 614, 714, 855, 1351, 1847, 1812, 1357, 719, 290, 55, 14, 1], sum=10538
valids=15:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 228, 629, 0, 0, 0, 0, 0, 698, 1394, 262, 65, 7], sum=3302
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 26, 56, 137, 233, 202, 219, 287, 415, 572, 521, 372, 187, 54, 13, 2], sum=3302
valids=16:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 55, 135, 0, 0, 0, 0, 0, 105, 193, 49, 12], sum=552
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 19, 25, 38, 63, 45, 59, 77, 71, 62, 49, 27, 6, 4], sum=552
valids=17:
29#/17: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 16, 0, 0, 0, 0, 0, 18, 17, 3], sum=55
67#: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 7, 6, 6, 3, 6, 10, 9, 3, 2, 1], sum=55
Логи кстати занимают 46МБ, 18МБ, 6.4МБ текста для длин соответственно 17, 18, 19.