Как сделать программу быстрее
у меня теперь другой вопрос))) как мне сделать чтобы программа меньше лагала))) скидываю полный код))) private void button1_Click(object sender, EventArgs e) { int a, b, c, d, e, f, j, h, i; double w, r, t, y, u, o, p, s, g; double w1, r1, t1, y1, u1, o1, p1, s1, g1; double w2, r2, t2, y2, u2, o2, p2, s2, g2; for (a = 0; a < 1000; a++) for (b = 0; b < 1000; b++) for (c = 0; c < 1000; c++) for (d = 0; d < 1000; d++) for (e = 0; e < 1000; e++) for (f = 0; f < 1000; f++) for (j = 0; j < 1000; j++) for (h = 0; h < 1000; h++) for (i = 0; i < 1000; i++)
На изображении показан скриншот редактора кода с русской подписью: автор спрашивает, как уменьшить лаги программы, и присылает «полный код», состоящий из множества вложенных циклов по 1000 итераций. Шутка в том, что такой крайне неэффективный код сам очевидно и вызывает тормоза, поэтому просьба о помощи звучит иронично. EN: The image shows a code editor screenshot with a Russian caption: the author asks how to reduce program lag and sends the “full code,” consisting of many nested loops running up to 1000 iterations each. The joke is that this extremely inefficient code is obviously causing the slowdown, making the request for help ironic.
- @ithueti / 5392 2021-12-30
- Type
- image
- Size
- 800×547 · 60.0 KiB
- Mood
- саркастичный, абсурдный
- Language
- ru
- Added