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

Резултати

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

Пребарај: #hama

当前筛选 #hama清除筛选
Eva Karene Bartlett

@EvaKarene_Bartlett · Post #30203 · 28.03.2026 г., 07:36

#Christian neighborhoods in #Damascus protesting in the middle of the night after targeting the Christians in #Hama by the Islamist gangs calling themselves a government @TheAlawiteEcho The Syrian barbaric islamist gangs are now raiding and vandalizing the #Christian city of Skailbiyah in #Hama after they attacked every single non-Sunni sect and religion https://t.co/GX12QdO06L View tweet

Eva Karene Bartlett

@EvaKarene_Bartlett · Post #30442 · 11.04.2026 г., 09:17

#Damascus : Ismaili Man Killed by Gunmen, Amid Rising Attacks Targeting the Ismaili Community Madin Ismail Zino, 56, originally from the city of Salamiyah in W. #Hama countryside, has died from critical gunshot wounds he sustained a week ago in e. #Domar area of Damascus. He passed away today April 10, 2026. Since the start of this year, there has been a significant rise in attacks targeting members of the Ismaili community, including killings and kidnappings, a stark escalation compared to 2025, when incidents against them were largely confined to theft and property damage.​​​​​​​​​​​​​​​​ Incidents Targeting the Ismaili Community in 2026: Haider Haider from Salamiyah killed in Homs on February 18, 2026, https://x.com/syjusticearc/status/2024161104721859030 Maad Nasser, 66 years old, killed in front of his house in Salamiyah on February 10, 2026 https://x.com/syjusticearc/status/2021267785347641793 Ismail Mustafa Safar from Salamiyah countryside was found dead in Homs countryside, March 14, 2026 https://x.com/syjusticearc/status/2032824907457761443 Ali Mustafa Al-Eizouqi, killed near Salamiyah on January 22, 2026 https://x.com/syjusticearc/status/2014970181064233072 Joseph Milad Zeino, young man in his twenties, kidnapped from a local store in Domar near Damascus on March 12, 2026. Kidnappers are demanding a huge ransom https://x.com/syjusticearc/status/2033538625447587862 Protest in Salamiyah denouncing killings,, and the lack of security in the city, on February 13, 2026 https://x.com/syjusticearc/status/2022310059288547639

Eva Karene Bartlett

@EvaKarene_Bartlett · Post #30331 · 03.04.2026 г., 13:02

#WesternSyria | W. #Hama: Two Alawite men killed while working on their land by Al-Jolani’s terrorist militias “Muhammad Hafez Al-Ali” and “Yusuf Muhammad Al-Ali” were killed yesterday, April 2, 2026, by an armed terrorist group affiliated with Al-Jolani’s militias, while working on their land located north of the village of #alBayad, in the municipality of Umm Al-Tuyur, in the W. #Hama countryside.

Eva Karene Bartlett

@EvaKarene_Bartlett · Post #30120 · 22.03.2026 г., 13:28

Systematic Attacks on Religious Minorities' Shrines and Places of Worship in Syria W #Hama: An extremist terrorist group has destroyed a religious shrine belonging to the #Alawite community, known as “Sheikh Muhammad al-Maghribi,” located in the village of #Asila in Masyaf, in the Ghab Plain in the rural countryside of Hama Governorate, yesterday 21 March 2026. #Alawite: It is worth noting that attacks on Alawite religious shrines began following the fall of the regime, reaching their peak during the #massacres carried out against Alawites on the Syrian coast by al-Jolani’s forces. Incidents of assault on Alawite shrines have continued repeatedly, to the point where barely a month passes without an incident involving the bombing, desecration, or burning of shrines across various Alawite regions. #Druze: Similarly, shrines belonging to the Druze community were subjected to comparable attacks, including vandalism, arson, and bombings, during the massacres of July 2025 in #Suwayda, carried out by the forces of al-Jolani’s terrorist regime. #Christians: A church in #Damascus was also bombed in June 2025, in addition to attacks on churches in #Homs and the rural Homs region in the #alQusayr area. The massacres that took place in As-#Suwayda likewise saw the burning and destruction of three churches.