Help with memory?

Bài viết dưới đây sẽ chỉ dẫn bạn cách làm mặt nạ trị da mặt nhiều nếp nhăn hiệu quả nhất từ các vật liệu thiên nhiên.

Chuối + Mật ong

trị mụn tận gốc tại thẩm mỹ viện

Không chỉ là 1 loại hoa quả rất tốt cho sức khỏe với hàm lượng chất dinh dưỡng cao chuối với nhiều chất chống oxy hóa được chị em sử dụng nhiều trong lĩnh vực làm đẹp đặc biệt là căng da, chống nhăn da mặt. 

xóa nếp nhăn tan bọng mắt

Chuối phối hợp với mật ong tăng cường độ ẩm và lấy lại độ đàn hồi cho da. Mặt nạ chuối và mật ong sẽ là sự chọn lựa tuyệt vời khắc phục tình trạng da mặt nhiều nếp nhăn hiệu quả.

Trị thâm môi bằng laser có phải hiệu quả nhất không

– Xay nhuyễn 1 quả chuối chín với 2 thìa mật ong thuần chất để được 1 hỗn tạp sánh mịn đồng nhất

– Sau khi rửa mặt thật sạch để loại bỏ bụi bẩn và tế bào chết bạn dùng hổ lốn chuối và mật ong làm mặt nạ dưỡng da

– Để nguyên mặt nạ chuối mật ong trong khoảng 20 phút sau đó rửa lại bằng nước lạnh

– thực hành 2 – 3 lần mỗi tuần tình trạng da mặt bị nhăn sẽ được cải thiện.Xóa bỏ da mặt nhăn với mặt nạ từ sữa tươi và dầu olive

if you want to force the use of garbage collector you need to use collectgarbage():

https://docs.coronalabs.com/api/library/global/collectgarbage.html

I know that it’s kinda a little bit frustrating not know how exactly all things are doing. I came from C language…I feel you. Saying this, Lua takes care of garbage pretty good, so just don’t worry about it. You will get used to it ;).

about second part of your question.

yes you don’t need to create a second array and you don’t need to nill A[1], you can rewrite it without nill it first. It should shows 8-9mb since you are using same space on memory. I would use metatables in this particular scenario. 

if you want to force the use of garbage collector you need to use collectgarbage():

https://docs.coronalabs.com/api/library/global/collectgarbage.html

I know that it’s kinda a little bit frustrating not know how exactly all things are doing. I came from C language…I feel you. Saying this, Lua takes care of garbage pretty good, so just don’t worry about it. You will get used to it ;).

about second part of your question.

yes you don’t need to create a second array and you don’t need to nill A[1], you can rewrite it without nill it first. It should shows 8-9mb since you are using same space on memory. I would use metatables in this particular scenario.