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

Резултати

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

Пребарај: #jenin

当前筛选 #jenin清除筛选
RNN Mirror

@Palresistmirror · Post #94934 · 18.05.2026 г., 00:08

🚨 Documentation of the targeting of an IOF vehicle during an IOF invasion in the town of Al-Yamoun, west of #Jenin.

Hashtags

RNN Mirror

@Palresistmirror · Post #94281 · 06.05.2026 г., 19:23

🚨 The zionist "Northern West Bank Settlements Council" has launched a campaign to recruit settlers for the establishment of 18 new settlement outposts, with support from the "israeli" Ministry of Settlement. Recent developments in #Jenin include: • The return of settlers to settlements in the area. • The IOF seizing hundreds of dunams of land for the construction of settler roads.

Hashtags

RNN Mirror

@Palresistmirror · Post #94201 · 04.05.2026 г., 15:22

⚫️ Saraya Al-Quds - West Bank: — The sons of Nu’man are in the field. The Silat Al-Harithiya Unit – Jenin Brigade. — Note: Nu'man is in reference to the intellectual revolutionary, Nu'man Tahaineh. Tahaineh was a fighter and thinker from Silat Al-Harithiya, #Jenin, who became one of the most prominent leaders of the Saraya Al-Quds Brigades in the West Bank. In 2004, he ascended to martyrdom in an IOF assassination.

Hashtags

Resistance News Network Backup

@RNN_Backup · Post #64693 · 25.10.2024 г., 13:07

A photo of the martyr Hanan Abu Salameh, who was shot by the IOF on her own land while picking olives near the colonial separation wall east of #Jenin. At her funeral, mourners chanted, "Long live the rifle! We are your men, O Palestine!" Glory to the martyrs.

Hashtags

Resistance News Network Backup

@RNN_Backup · Post #64448 · 25.10.2024 г., 09:59

The resistance fighter, Kareem Jabarin from #Jenin camp ascended to martyrdom while confronting invading occupation forces during the besiegement of his home. After Kareem ascended, the IOF raided his home and abducted his body. Jabarin turned 20 today. Glory to the martyrs.

Hashtags

Resistance News Network Backup

@RNN_Backup · Post #64421 · 25.10.2024 г., 09:41

🚨 Very violent armed clashes are taking place between the Palestinian resistance and a special zionist force in the Al-Zahraa area of #Jenin. The IOF has besieged a home and sent in reinforcements. The sounds of gunfire and explosions have not stopped for a moment after the force was discovered by the resistance.

Hashtags

Resistance News Network Backup

@RNN_Backup · Post #64256 · 25.10.2024 г., 07:40

🚨 Armed clashes continue between resistance fighters and the invading occupation forces in #Jenin. (Media 1) A high-impact explosive device targeted the IOF on Al-Nasira street. (Media 2)

Hashtags

Resistance News Network Backup

@RNN_Backup · Post #63408 · 14.10.2024 г., 15:39

🚨 Armed clashes continue between resistance fighters and the invading occupation forces in #Jenin. (Media 1) A high-impact explosive device targeted the IOF on Al-Nasira street. (Media 2)

Hashtags

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