@centralchanel · Post #15656 · 27.12.2024 г., 09:02
#Planes Send the code below to the bot and earn 5K points. Code: howtoearn500 Link:⤵️ https://t.me/plane_cryptobot/planes?startapp=ref_9N3R6M ⛏#ton#planes#dogs
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #32 · 7 фев.
Скорее всего уже слышали, что складывать строки через + это плохая практика. Падение производительности, и всё такое. Без лишних слов, давайте измерять: from timeit import timeit def t1(): # складываем 10 строк через + из переменной t = 'text' for _ in range(1000): s = t + t + t + t + t + t + t + t + t def t2(): # склеиваем список строк через метод join arr = ['text'] * 10 for _ in range(1000): s = ''.join(arr) def t3(): # складываем через + но не из переменной а непосредственно инлайн объекты for _ in range(1000): s = 'text' + 'text' + 'text' + ... # всего 10 раз Теперь каждую строку склейки запустим по 10М раз >>> timeit(t1, number=10000) 0.21951690399964718 >>> timeit(t2, number=10000) 1.4978306379998685 >>> timeit(t3, number=10000) 0.2213820789993406 Хм, а нам говорили что через "+" это плохо и медленно ))) 😁 Тут стоит учитывать, что речь идёт о склейке множества длинных строк. Давайте изменим условия: def t4(): t = 'text'*100 for _ in range(1000): s = t + t + t + t + t + t + t + t + t def t5(): arr = ['text'*100] * 10 for _ in range(1000): s = ''.join(arr) def t6(): for _ in range(1000): s = 'text'*100 + 'text'*100 + ... # всего 10 раз >>> timeit(t4, number=10000) 12.795130728000004 >>> timeit(t5, number=10000) 2.642637542999182 >>> timeit(t6, number=10000) 0.2184546610005782 Вот, уже другой разговор, сразу видна разница, в среднем в 6 раз. Но погодите, почему последний тест t6() по скорости такой же как и t3()? Ведь строки теперь в 100 раз длиннее! Это вопросы оптимизации кода, какие простые изменения ускоряют или замедляют выполнение программы. Мы столкнулись с примером обхода обращения к переменной. Например, именно так работает директива #define в С++, во время компиляции подставляя значение переменной вместо ссылки на неё. В Python это тоже работает, но часто ли вы сможете встретить такой способ работы со строками? К сожалению, способ почти только теоретический. В целом, тесты показали то, что мы хотели. Делаем выводы самостоятельно. Полный листинг 🌍 #tricks
Пребарај: #planes
@centralchanel · Post #15656 · 27.12.2024 г., 09:02
#Planes Send the code below to the bot and earn 5K points. Code: howtoearn500 Link:⤵️ https://t.me/plane_cryptobot/planes?startapp=ref_9N3R6M ⛏#ton#planes#dogs
@giiveaways · Post #3374 · 17.12.2024 г., 12:58
🚩 Don’t miss out on the Planes project, partnered with none other than Pavel Durov! 🔜Minimal effort — maximum rewards. Earn your first tokens in just a couple of minutes. 💌 To continue farming, simply send 5 messages to your friends. This version emphasizes clarity and flow while maintaining an engaging tone. ✍️Mr. X ............. 👉@Planes ➖➖➖➖➖➖➖➖➖➖ #Planes#ton#Durov
@balinews · Post #289 · 10.01.2025 г., 14:05
✈️AirAsia launches new Bali to Darwinflight 📆 Popular low-cost carrier AirAsia is set to launch a new flight between Darwin (Australia) and Denpasar from March 22, 2025. ⏰ The flights will operate every Tuesday, Thursday and Saturday: Denpasar - Darwin 11:40 - 15:55, return 16:35 - 17:55. @BaliNews #transport#planes#destinations
Hashtags
@wangzhuanzhan · Post #33166 · 17.09.2024 г., 09:10
F-f飞f机j总z动d员y- 飞机总动员 Planes (2013) 直达链接:https://pan.quark.cn/s/0775dc4637b1 #飞机总动员#Planes 链接:https://link3.cc/sf_com #电影#喜剧#美国#10年代
@wangzhuanzhan · Post #33199 · 19.09.2024 г., 06:03
F-f飞f机j总z动d员y2- 飞机总动员2:火线救援 Planes: Fire and Rescue (2014) 直达链接:https://pan.quark.cn/s/18964c0b330e #飞机总动员2:火线救援 #飞机总动员2:救火大行动 #Planes: Fire and Rescue #飞机总动员2 #飞机总动员:火线救援 #飞机总动员:打火英雄 链接:https://link3.cc/sf_com #电影#喜剧#美国#10年代
@dailychannels · Post #6213 · 17.07.2025 г., 01:00
Channel: Vehicles Cars Planes Ships Military | 3D STL Models Miniatures Print Members: ~13.36K 💢 Username: @vehicles_stl Description: all STL : t.me/addlist/AKCBHdY4zShlZTVi Car models Aircraft models Ship models Tank models STL files 3D printing Scale models Vehicle accessories Classic cars Fighter jets Battleships Armored vehicles Military vehicles Vintage planes Racing Helicopters 🏷 Tags: #auto_moto #stl#print#cars#planes https://telegramchannels.me/channels/vehicles_stl
Hashtags
@googlefactss · Post #40776 · 11.03.2026 г., 23:01
During World War II, engineers studied planes that returned from missions. They first thought the areas with the most bullet holes needed armor. Statistician Abraham Wald realized this was survivorship bias. Survivorship bias happens when you focus only on survivors and ignore failures.The undamaged areas on returning planes were actually the critical spots. Planes hit there did not survive. He recommended reinforcing those undamaged areas. ✈️📊🛡️ [Read more] @googlefactss #SurvivorshipBias#WWII#AbrahamWald#Planes#Statistics#History
@coloringbookspdf · Post #317 · 15.07.2024 г., 15:52
✅ 10 WAR PLANES 🆓 • Personal Use License. #coloringpage#war#combat#jets#planes#figther