MCPcopy Create free account
hub / github.com/babel/minify / code_length_orders

Function code_length_orders

scripts/pyflate.py:217–218  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

215 HuffmanTable.__init__(self, z)
216
217def code_length_orders(i):
218 return (16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15)[i]
219
220def distance_base(i):
221 return (1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577)[i]

Callers 1

gzip_mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected