Document the units of `set_memory_limit` and `used_memory`
Closed this issue · 5 comments
mkhan45 commented
Right now the documentation for Lua::used_memory
and Lua::set_memory_limit
doesn't specify the unit. This could be a doc fix, but IMO it would be better to rename the functions like Lua::used_memory_kbytes
etc.
cliftontoaster-reid commented
Did the project die since this request was made?
mkhan45 commented
Yeah, the standard is now mlua: https://github.com/khvzak/mlua
cliftontoaster-reid commented
Thanks, a lot.
jugglerchris commented
I wouldn't exactly say that rlua is dead - there are new releases now and then. mlua is evidently more active, though.
khvzak commented
rlua is going to be deprecated soon and this issue is solved in mlua.