Create an empty git repo or reinitialize an existing one
git init
Create an empty git repo or reinitialize an existing one
git init
local lzw = {} | |
local function enc_reset(dict, size) | |
for k, _ in pairs(dict) do dict[k] = nil end | |
for i = 0, size-1 do dict[string.char(i)] = i end | |
return dict | |
end | |
local function dec_reset(dict, size) | |
for k, _ in pairs(dict) do dict[k] = nil end |