mlua-rs/rlua

Document the units of `set_memory_limit` and `used_memory`

Closed this issue · 5 comments

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.

Did the project die since this request was made?

Yeah, the standard is now mlua: https://github.com/khvzak/mlua

Thanks, a lot.

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.