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

Резултати

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

Пребарај: #sdf

当前筛选 #sdf清除筛选

የኢትዮጵያ ልዑካን ቡድን ከሳዑዲ የልማት ፈንድ አመራሮች ጋር ተወያየ ******************** በገንዘብ ሚኒስትሩ አቶ አሕመድ ሽዴ የተመራው የኢትዮጵያ ልዑካን ቡድን፣ በዋሽንግተን ዲ.ሲ እየተካሄደ ካለው የዓለም ባንክ እና የዓለም የገንዘብ ድርጅት የፀደይ ስብሰባ ጎን ለጎን ከሳዑዲ የልማት ፈንድ ዋና ሥራ አስፈፃሚ ሱልጣን አብዱልራህማን አል-ማርሻድ ጋር የሁለትዮሽ ውይይት አድርጓል። የገንዘብ ሚኒስትሩ አቶ አሕመድ ሽዴ በዚሁ ወቅት በኢትዮጵያ እና በሳዑዲ የልማት ፈንድ መካከል ያለውን ጠንካራ እና እያደገ የመጣ አጋርነት አድንቀዋል። ሚኒስትሩ መንግሥት እያከናወነው ባለው የማክሮ ኢኮኖሚ ማሻሻያ ላይ ማብራሪያ የሰጡ ሲሆን፣ ቀጣይነት ያለው የፋይናንስ ድጋፍ የሚሹ ቅድሚያ የሚሰጣቸው የኢንቨስትመንት ዘርፎችንም ዘርዝረዋል። የውይይቱ ዋና ዋና ነጥቦች ስትራቴጂያዊ በሆኑ የመሠረተ ልማት ፕሮጀክቶች ላይ በተለይም ለቢሾፍቱ ዓለም አቀፍ አውሮፕላን ማረፊያ ግንባታ ሊደረግ በሚችል የፋይናንስ ድጋፍ ዙሪያ ያተኮሩ ነበሩ። የኢኮኖሚ ዕድገትን እና ቀጣናዊ ትሥሥርን ለመደገፍ የመንገዶች ትሥሥርን ማስፋፋት በሚቻልባቸው ሁኔታዎች ላይም መክረዋል። የገንዘብ ሚኒስትሩ ኢትዮጵያ ቅድሚያ የምትሰጣቸው የልማት ኢኒሼቲቮችን ለማሳካት ቀጣይነት ያለው ትብብር አስፈላጊ መሆኑን አፅንዖት ሰጥተዋል። የሳዑዲ የልማት ፈንድ ዋና ሥራ አስፈፃሚ ሱልጣን አብዱልራህማን አል-ማርሻድ በበኩላቸው፣ የሳዑዲ የልማት ፈንድ ከኢትዮጵያ ጋር ያለውን አጋርነት አረጋግጠው፣ የሀገሪቱን ዋና ዋና የልማት ተነሳሽነቶች ለመደገፍ ትብብራቸውን ይበልጥ ለማጠናከር ዝግጁ መሆናቸውን ገልጸዋል። #EBC#Ethiopia#SDF#diplomacy

Eva Karene Bartlett

@EvaKarene_Bartlett · Post #29604 · 25.01.2026 г., 07:49

"The way the United States has dealt with its ally, the #SDF, in #Syria is a wake-up call for all countries that believe they are strategic allies of the United States." https://x.com/Mr_Salarosh/status/2015329233464447232

Hashtags

Eva Karene Bartlett

@EvaKarene_Bartlett · Post #29522 · 21.01.2026 г., 07:19

N.E #Syria : Field developments indicate that al-Jolani terrorist regime is not adhering to the declared ceasefire, despite the #SDF confirming its commitment to it. Updates from the #SDF: 📌8:40 PM (Damascus time): The town of Zarkan has been under heavy artillery shelling by Damascus factions for about half an hour, coinciding with Turkish drones flying over the area. Damage and casualty figures are still being assessed. 📌9:20 PM (Damascus time): Damascus factions launched an attack using heavy weapons on the village of Tal Baroud, located on the Tal Abyad–Hasakah road, south of Hasakah.

Hashtags

Turchia e dintorni

@notizieturchia · Post #2957 · 15.01.2025 г., 22:00

In #Siria sono ancora in corso gli scontri tra le Forze Democratiche Siriane, #SDF e le bande jihadiste sostenute dalla #Turchia. Riferiscono le SDF: "Uccisi 365 jihadisti, morti 81 nostri militanti, uccisi 47 civili tra cui 2 giornalisti".

Eva Karene Bartlett

@EvaKarene_Bartlett · Post #29573 · 23.01.2026 г., 10:01

Al-Hol Camp: Pro-alJolani media outlets have launched a campaign promoting the narrative that #ISIS detainees in al-Hol camp are "victims." Since yesterday, pro–alJolani media have been conducting interviews with ISIS detainees in al-Hol camp, highlighting their claimed "suffering" and portraying them as having been wronged by the Syrian Democratic Forces (#SDF). These interviews reveal that the camp houses men as well, contradicting the commonly promoted claim that it contains only women and children. This style of coverage raises serious questions and suggests preparations to justify the release of some detainees, while ignoring their responsibility for some of the most brutal terrorist crimes in modern history, crimes rivaled only by those committed by Abu Mohammad al-Jolani himself. Previously, a member of al-Jolani's government, Nour al-Din al-Baba, admitted that the perpetrators of the June 2025 suicide bombing targeting the Mar Elias Church in Damascus had come from al-Hol camp, exploiting the chaos following the fall of the former regime to escape the camp and reach Damascus. This raises the question: why is al-Jolani’s media now attempting to whitewash their image? At the end of one circulating video showing al-Jolani's militias smuggling residents out of al-Hol camp, a child is heard asking one of the militants: “Do you have weapons?”, underscoring that this is a dangerous extremist group posing a serious threat to Syrian society and beyond. Additionally, Saudi channel Al-Hadath aired footage from the camp showing an angry ISIS detainee demanding that the Syrian state hold UNHCR staff accountable.

Hashtags

Eva Karene Bartlett

@EvaKarene_Bartlett · Post #29326 · 06.01.2026 г., 13:25

#Aleppo: Footage reveals the aftermath of shelling by alJolani-led/ #HTS-led regime forces targeting the Sheikh Maqsoud neighborhood in Aleppo. Several shells also landed in the adjacent Al-Midan neighborhood due to indiscriminate attacks on residential areas. Local media and the Saudi channel "Al-Hadath" falsely claimed that the shelling was carried out by the #SDF, despite footage clearly showing regime forces themselves using all types of artillery. It should be emphasized that the SDF has no presence in Aleppo, having withdrawn all heavy weapons and personnel under the March 10 agreement. The only forces remaining in Sheikh Maqsoud and Al-Ashrafiyah are the Asayish units, which serve solely as internal security.

ПретходнаСтраница 1 од 5Следна