javascript work out the size of an array -
I am creating a mobile app and want to store data on the device.
I am downloading and using local storage to save data after populating ARLs. The total amount of data is 20 categories and each category has 50 rows and each row will have an HTML code of a page. So the characters with a 20 x 50 x average number on a page
- Do I have any way to get the total size of the reloaded array in the device then I can estimate how much I can store on a mobile phone.
- Is there a problem using large arrays on mobile?
Shrirby
looks like something on which normal computer But there is a lot of good for mobile devices, and I suggest you try a different approach, such as populating content such as asynchronous loading (via API-call) and static HTML-files Static HTML-Files are downloaded only once and preferred by the browser Are stored, so you do not need to waste as wire local storage with HTML- pages.
Comments
Post a Comment