TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #396 · 9 окт.

7.09.2025 состоялся релизPithon 3.14! На фоне хайпа про NoGIL всё позабыли про другие фичи. Особенно про Multiple Interpreters, который обещает изоляцию процессов но с эффективностью потоков! На сколько действительно это будет эффективно мы узнаем позже, потому что сейчас это лишь первый релиз с ограничениями и недоработками. Но что там про NoGIL? Теперь этот режим не экспериментальный, а официально поддерживаемый, но опциональный. Чтобы запустить без GIL нужна специальная сборка. И перед стартом нужно объявить переменную PYTHON_GIL=0 Для вас я собрал готовый репозиторий где достаточно запустить скрпит, который всё сделает: ▫️ соберет релизный Python 3.14 в новый Docker-образ ▫️ запустит тесты в контейнере (GIL, NoGIL, MultiInterpreter) ▫️ распечатает результаты Тест очень простой, усложняйте сами) Вот какие результаты у меня: === Running ThreadPoolExecutor GIL ON TOTAL TIME: 45.48 seconds === Running ThreadPoolExecutor GIL OFF TOTAL TIME: 6.14 seconds === Running basic Thread GIL ON TOTAL TIME: 45.54 seconds === Running basic Thread GIL OFF TOTAL TIME: 4.74 seconds === Running with Multi Interpreter TOTAL TIME: 18.30 seconds Если сравнивать GIL и NoGIL, то на мои 32 ядра прирост х7-x10 (почему не х32? 🤷). При этом нам обещают что скорости будут расти с новыми релизами. Режим без GIL похож (визуально) на async, тоже параллельно, тоже не по порядку. Но это не IO! и от того некоторый диссонанс в голове 😵‍💫, нас учили не так! Интересно, что чистый Thread работает быстрей чем ThreadPoolExecutor без GIL. Ну и где-то плачет один адепт мульти-интерпретаторов😭 Теперь нужно искать где они могут пригодиться с такой-то скоростью. Скорее всего своя область применения найдется. Отдельно я затестил память и вот что вышло на 32 потока: ThreadPoolExecutor GIL ON 305.228 MB ThreadPoolExecutor GIL OFF 500.176 MB basic Thread GIL ON 90.668 MB basic Thread GIL OFF 472.444 MB with Multi Interpreter 1267.788 MB Пока не знаю как к этому относиться) В целом - радует направление развития! #release

Hashtags

Резултати

Пронајдени 121 слични објави

Пребарај: #qatar

当前筛选 #qatar清除筛选
Dan Kovalik

@danielmkovalik · Post #2784 · 10.09.2025 г., 12:15

Israel bombs #Qatar with the blessing of the U.S., further eroding the rule of law in the world and destroying any credibility they have left.

Hashtags

IHMA | Dilfuza Ruzmetova

@IHMA_matbuotkotibi · Post #671 · 07.11.2025 г., 09:38

Dohada O'zbekiston pavilyoni⚡️ “O’zbekiston” telekanali “Jarayon” 18:00 06.11.2025 #QATAR Rasmiy sahifalarimiz🌐 Telegram | Instagram | O'zTV1 Insta |O'zTV1 TG | UTube | O'zTV1FB | UzRadio103.1

Hashtags

White House Watch

@Whitehousewatch · Post #17042 · 14.01.2026 г., 15:30

#Qatar, #Iran: Il Dipartimento della Guerra ha cominciato a ritirare alcune truppe e alcuni asset dalla base al-Udeid in Qatar come precauzione in vista di una decisione di Donald Trump di colpire o meno l'Iran. La base in questione viene utilizzata per ospitare bombardieri, aerei di rifornimento, jet da combattimento, aerei per la sorveglianza e droni. Lo stesso era stato fatto a giugno pirma che gli Stati Uniti colpissero l'Iran.

Hashtags

Islamic World News

@iswnews_en · Post #18548 · 11.04.2026 г., 12:02

🇮🇷/🇺🇸Based on unofficial news from Islamabad, Iran's red lines in negotiations with the US include the following: 1- The Strait of Hormuz must be under Iran's control. 2- Payment of compensation for war damages. 3- Release of Iran's frozen assets. 4- Any ceasefire must be implemented sustainably and genuinely on all relevant fronts. ‼️ Additionally, negotiations will begin after Iranian officials meet with Pakistani Prime Minister Shehbaz Sharif to discuss US violations of the ceasefire terms, at the forefront of which are the release of Iran's frozen funds in Qatar and a ceasefire in Lebanon. These two issues have been set as preconditions for the start of the talks. #Iran#Qatar

Hashtags

Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #3057 · 16.08.2024 г., 14:40

Do not believe a single word that comes out of the meeting of the genocide enablers in #Qatar Only believe what comes out of the mouth of the resistance in #Gaza That is the only side I trust...and that side is not even present in Qatar.

Hashtags

Islamic World News

@iswnews_en · Post #18016 · 01.04.2026 г., 01:19

🇮🇷/🇺🇸🇶🇦🚢💥The United Kingdom Maritime Trade Operations (UKMTO) has reported an incident 17 nautical miles north of Doha. The security officer reported that a tanker was struck by an unknown projectile, causing damage to the hull above the waterline. The crew is reported safe. 📊 Since the start of the war, Iranian armed forces have struck at least 24 violating vessels in the waters of the Persian Gulf, the Strait of Hormuz, and the Gulf of Oman. These attacks have been carried out using suicide naval drones, suicide drones, cruise missiles, anti‑ship ballistic missiles, armed speedboat assaults, and other means. #Iran#US#Qatar

Islamic World News

@iswnews_en · Post #17450 · 20.03.2026 г., 00:58

🇮🇷/🇺🇸🇶🇦‼️Repairing the damage to the Ras Laffan gas complex will take 5 years! 🔹State-owned QatarEnergy, which operates the Ras Laffan gas complex, told Reuters that the damage inflicted on "two units" of the LNG facility, developed through a joint investment with the American company ExxonMobil, will require three to five years to repair. ➡️ The company added that this incident will reduce its annual revenue by $20 billion and force it to cancel long-term contracts with Italy, Belgium, Korea, and China. ✍️ As the Qataris themselves have acknowledged, Iran's "limited strike" on a "small section" of the Ras Laffan facilities has been this damaging. This reality once again emphasizes that any extensive Iranian attack on these facilities and other similar oil and gas installations in the region could lead to a huge and irreparable catastrophe in the history of human energy! Therefore, the U.S., Europe, and the Persian Gulf states have clearly received Iran's powerful and unequivocal message, and it is unlikely they will make any further mistakes from now on. Of course, the malice of the Zionist regime remains ever-present, but if this mistake is repeated, there will be no way back left for anyone! #Iran#US#Qatar

123•••1011
ПретходнаСтраница 1 од 11Следна