I use this data structure all the time. Can someone leave a comment and tell me what it's called?
- insert(k,v): add a new value
- lookup(k): lookup an existing value
- age(): delete old entries (that have not been used since previous call to age())
# Initialize 'old' and 'new' to empty tables
local old, new = {}, {}