Skip to content

Commit e8df76f

Browse files
committed
Formatted and corrected some values in dix table.
1 parent 12980bd commit e8df76f

File tree

1 file changed

+32
-13
lines changed

1 file changed

+32
-13
lines changed

arch/INFLATE.LUA

Lines changed: 32 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -236,25 +236,44 @@ function inflate(r, w, z)
236236
[277]={67,4},[278]={83,4},[279]={99,4},[280]={115,4},[281]={131,5},
237237
[282]={163,5},[283]={195,5},[284]={227,5},[285]={258,0}
238238
},{
239-
{1,0},{2,0},{3,0},{4,0},{5,1},{7,1},{9,2},{13,2},{17,3},{25,3},
240-
{33,4},{49,4},{65,5},{97,5},{129,6},{193,6},{257,7},{385,7},{513,8},
241-
{769,8},{1025,9},{1537,9},{2049,10},{3073,10},{4097,11},{6145,11},
242-
{8193,12},{12289,12},{16385,13},{24577,13},
239+
{1,0},{2,0},{3,0},{4,0},
240+
{5,1},{7,1},
241+
{9,2},{13,2},
242+
{17,3},{25,3},
243+
{33,4},{49,4},
244+
{65,5},{97,5},
245+
{129,6},{193,6},
246+
{257,7},{385,7},
247+
{513,8},{769,8},
248+
{1025,9},{1537,9},
249+
{2049,10},{3073,10},
250+
{4097,11},{6145,11},
251+
{8193,12},{12289,12},
252+
{16385,13},{24577,13},
243253

244254
-- Inflate64 below
245-
{32769,13},{49153,13},{65537,14},{98305,14},{131073,15},
246-
{196609,15},{262145,16},
247-
{393217,16},{524289,17},{786433,17},{1048577,18},{1572865,18},
248-
{2097153,19},{3145729,19},{4194305,20},{6291457,20},{8388609,21},
249-
{12582913,21},{16777217,22},{25165825,22},{33554433,23},
250-
{50331649,23},{67108865,24},{100663297,24},{134217729,25},
251-
{201326593,25},{268435457,26},{402653185,26},{536870913,27},
252-
{805306369,27},{1073741825,28},{1610612737,28}
255+
{32769,14},{49153,14},
256+
{65537,15},{98305,15},
257+
{131073,16},{196609,16},
258+
{262145,17},{393217,17},
259+
{524289,18},{786433,18},
260+
{1048577,19},{1572865,19},
261+
{2097153,20},{3145729,20},
262+
{4194305,21},{6291457,21},
263+
{8388609,22},{12582913,22},
264+
{16777217,23},{25165825,23},
265+
{33554433,24},{50331649,24},
266+
{67108865,25},{100663297,25},
267+
{134217729,26},{201326593,26},
268+
{268435457,27},{402653185,27},
269+
{536870913,28},{805306369,28},
270+
{1073741825,29},{1610612737,29},
271+
{2147483649,30},{3221225473,30},
253272
}
254273

255274
-- Strip addition table values out when not in inflate64 mode
256275
if not z then
257-
for _ = 1, 32 do
276+
for _ = 1, 33 do
258277
table.remove(dix)
259278
end
260279
end

0 commit comments

Comments
 (0)