0
0
0x0000002F2022-03-03 21:01:09
Google Chrome
0x0000002F, 2022-03-03 21:01:09

How to do more iterations?

I do nine million iterations in a for loop, chrome doesn't pull. How to remove the limit (or maybe even speed up the execution)?
\/ \/ ​​\/
62210205e96e4750730332.png
​​/\ /\ /\

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Adamos, 2022-03-03
@0x0000002F

On the screen it is written in English and white: the script ate all the memory. That's the whole "limit".

R
rPman, 2022-03-03
@rPman

try to use web workers , but it seems to work a little slower (but you can officially use multithreading by running several of them)
to advise how to speed up, you need to understand what kind of task and algorithm you have

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question