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

Резултати

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

Пребарај: #neonazicrimes

当前筛选 #neonazicrimes清除筛选
Россия в ОБСЕ

@RusMissionOSCE · Post #7493 · 14.10.2025 г., 08:21

🎙Rodion Miroshnik, Ambassador at Large of the Russian Foreign Ministry on the Crimes of the Kiev Regime, gave an interview to Komsomolskaya Pravda(October 13, 2025) #BuchaHoax • Western officials are now trying to avoid any discussion of the Bucha hoax. We’ve sent out official notes requesting a list of the individuals they accuse Russia of killing. These inquiries were left unanswered for months, and when replies finally came, they were absurd – along the lines of: “a decision was made to maintain confidentiality regarding the deceased”. • Each provided name would allow at least a preliminary investigation to establish the facts. Our experts, after examining photos and videos, noted that the victims had died at different times – evidenced by livor mortis marks on some bodies, traces of different types of soil on the clothing, and other inconsistencies. Essentially, the bodies of unidentified people were gathered from various locations. • The masterminds behind this provocation had a clear goal – to derail the nearly finalized Istanbul peace agreements. The goal was achieved – the negotiations were abandoned. #ReunitingFamilies • The purpose behind spreading false claims about “children abducted by Russia” is to accuse Russia of genocide. Among its definitions is the forcible transfer of children from one nationality to another. In reality, none of those who authored these accusations ever cared to learn the fate of a single specific child. • We are working closely with the Russian Presidential Commissioner for Children's Rights, Maria Lvova-Belova. At our latest meeting in Istanbul, the Ukrainian side handed over a list of 339 names. We began to thoroughly verify each case. It turned out that more than 50 people on the list had never been on Russian territory at all. • No child is being forcibly kept in Russia. Some arrived before the conflict, living with one parent or grandparents. Decisions about their future are made by relatives – but the process takes time: confirmation of documents, family ties, and genetic relationship. So far, just over 100 children have been reunited with their families through the mediation of Qatar and the UAE. • At the same time, we have many situations where parents living in Russia cannot reach their children who remain in Ukraine, because the Kiev regime classifies them as Ukrainian citizens and categorically refuses to assist in reunification. #NeoNaziCrimes#Torture • Several reports documenting cases of torture of civilians in Russia's Kursk Region have been prepared and officially submitted to the UN, OSCE, and the International Committee of the Red Cross. • Ukraine maintains an entire network of secret prisons, which international organizations are denied access to. Many of our POWs pass through these facilities before being transferred to official detention centers – where they report widespread abuse, torture, and even killings. #KievRegimeCrimes • Establishing any kind of international tribunal in the near future is practically impossible. Such a body can only be created by a UN Security Council resolution – where three Western countries supporting the current Kiev regime have veto power. • Many human rights organizations today are directly controlled by the sponsors of these crimes. A number of them have turned into propaganda outlets that simply “bark” in any direction they are told. • Most of the crimes committed by the Kiev regime occur on the territory of Russia’s new and historical regions. Accordingly, prosecutions are being carried out under the Criminal Code of the Russian Federation. • Around 650 Ukrainian militants have already stood trial, with some sentenced to between 8.5 years and life imprisonment. The Investigative Committee is conducting more than 7,500 criminal cases. Full interview (🇷🇺)