

Please compile AIA and select any file on your smartphone bigger than 800KB. P.s i prepared a simple AIA that can show both ERRORS (with a SLICE LIST and FOR EACH NUMBER in case of elaboration of big list). "SLICE list" block is MUCH faster but it gives a stack error if the file is bigger than 60-70KB (and I need up to 2-3MB) Just like other array iterators such as map and filter, the callback function can take in three parameters: The current element: This is the item in the array which is currently being iterated over. I found a bypass dividing a huge list in pieces using "for each number" block with elaboration of each piece with a clock and it works but it's very very slow (more then 10 minutes for 1MB file). The forEach () method calls a specified callback function once for every element it iterates over inside an array. the big list is a content of a file that was read in binary mode and I need to elaborate it byte by byte but a normal "For each number/item." block is simply closing an app after elaboration of about 100-200kb (without any error message). So, you have to implement in javascript only. Also getters is not possible because its inside loop. And in HTML you cannot do any calculations. You can use either for:each or iterator:iteratorName. Maybe somebody knows a FAST way to extract a part of a huge list without usage of "slice list" or "for each number/item" blocks? This is not possible because using LWC iterators you will be able to get item, index, firstItem, and lastItem.

If I'm extracting the piece where initial index is less than 50.000 then everything is ok. I'm trying to extract a small list taking a peace from much bigger list using SLICE LIST block but if the big list has for example 100.000 elements and i'm trying to extract a piece of 5000 elements where the initial index is bigger then 60.000 - there is an error "Stack size 8188kb".
