You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This appears to be fixed. The current version of that block of text is:
-- Internal method: deduplicate the given list, and restrict it to the history size limit
function obj:dedupe_and_resize(list)
local res={}
local hashes={}
for i,v in ipairs(list) do
if #res < self.hist_size then
local hash=hashfn(v.content)
if (not self.deduplicate) or (not hashes[hash]) then
table.insert(res, v)
hashes[hash]=true
end
end
end
return res
end
The text was updated successfully, but these errors were encountered: