Commit de65730
committed
fix(ac): compact dynamic group parsing and bump size limit
The backward-compatible dynamic group-length parsing in ac() adds ~18B over
the previous single hardcoded slice (master was 328B, near the 332B ceiling).
Compact the loop to keep the increase minimal (346B) and bump the ac size
limit to 355B to accommodate the genuine capability of supporting both the
legacy 4-char and collision-resistant 6-char group formats.
ac is an opt-in runtime (only imported when classNameCompressionMap is used).1 parent 2ecf545 commit de65730
2 files changed
Lines changed: 14 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
84 | 90 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
| 91 | + | |
106 | 92 | | |
107 | | - | |
108 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
109 | 99 | | |
110 | 100 | | |
111 | 101 | | |
| |||
0 commit comments