lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> The above seems like a memory leak, as 'cache[ aPath ] = aContent' will 
> hold everything forever.
> Thoughts?

It is curious why nodoby is concerned with similar things happening
with numerical keys. If aPath is a number, you have exactly the same
situation. Should Lua wait until the number is collected to remove that
entry from the table?

-- Roberto