-----------------------声笔飞码超字模式效率分析--------------------------
2 keys: 672 items, 405280396.00 times, covering 72.48 % 2 keys: 672 items, 405280396.00 times, covering 72.48 % 3 keys: 4168 items, 138385296.00 times, covering 24.75 % 3 keys: 4840 items, 543665692.00 times, covering 97.22 % 4 keys: 8920 items, 15052497.00 times, covering 2.69 % 4 keys: 13760 items, 558718189.00 times, covering 99.92 % 5 keys: 6530 items, 454546.00 times, covering 0.08 % 5 keys: 20290 items, 559172735.00 times, covering 100.00% 6 keys: 2180 items, 10087.00 times, covering 0.00 % 6 keys: 22470 items, 559182822.00 times, covering 100.00% 7 keys: 499 items, 262.00 times, covering 0.00 % 7 keys: 22969 items, 559183084.00 times, covering 100.00% 8 keys: 77 items, 28.00 times, covering 0.00 % 8 keys: 23046 items, 559183112.00 times, covering 100.00% 9 keys: 6 items, 0.00 times, covering 0.00 % 9 keys: 23052 items, 559183112.00 times, covering 100.00% 10 keys: 1 items, 0.00 times, covering 0.00 % 10 keys: 23053 items, 559183112.00 times, covering 100.00% Average Len: 2.303700000000总体上比强字方式只提升了0.1个百分点,聚集性增强了些,基本上控制在4码以内,但复杂性高了不少,似乎不值得改动。以下是详细对比:
键数 | 强字(27键元) | 超字(32键元) | ||||
2 | 567 | 567 | 68.30 | 672 | 672 | 72.48 |
3 | 2140 2205 | 2707 2772 | 22.61 90.91 | 4168 4410 | 4840 5082 | 24.75 97.22 |
4 | 5994 11025 | 8701 13797 | 8.20 99.10 | 8920 22050 | 13750 27132 | 2.69 99.92 |
5 | 7179 55125 | 15880 68922 | 0.82 99.93 | 6530 110250 | 20290 137382 | 0.08 100.00 |
6 | 4359 275625 | 20239 344547 | 0.00 100.00 | 2180 551250 | 22470 688632 | 0.00 100.00 |
7 | 1915 1378125 | 22154 1722672 | 0.00 100.00 | 449 2756250 | 22969 3444882 | 0.00 100.00 |
8 | 654 6890625 | 22808 8613297 | 0.00 100.00 | 77 13781250 | 23046 17226132 | 0.00 100.00 |
9 | 182 34453125 | 22990 43066422 | 0.00 100.00 | 6 68906250 | 23052 86132382 | 0.00 100.00 |
10 | 45 172265625 | 23035 215332047 | 0.00 100.00 | 1 344531250 | 23053 430663632 | 0.00 100.00 |
11 | 15 861328125 | 23050 1076660172 | 0.00 100.00 | 0 1722656250 | 23053 2153319882 | 0.00 100.00 |
12 | 3 4306640625 | 23053 5383300797 | 0.00 100.00 | 0 8613281250 | 23053 10766601132 | 0.00 100.00 |