added notion of expiration to snapshot. Full scan to trim the snapshot is no longer needed

This commit is contained in:
Manuel Simon Hirsig
2016-01-17 06:19:30 +01:00
parent a1cfce2300
commit 9c520df47c
6 changed files with 79 additions and 41 deletions
-8
View File
@@ -314,14 +314,6 @@ function Aux.util.set()
local data = {}
function self.set_data(new_data)
data = new_data
end
function self.get_data()
return data
end
function self.add(value)
data[value] = true
end