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

Резултати

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

Пребарај: #knesset

当前筛选 #knesset清除筛选
Addis Standard

@addisstandardeng · Post #21271 · 02.02.2026 г., 05:39

News: Protesters gather at #Knesset to demand government facilitate #Ethiopian immigration Demonstrators gathered outside the Knesset on Sunday demanding that the government facilitate the immigration of approximately 10,000 relatives of #Israelis of Ethiopian descent, given ongoing violence and strife in Ethiopia’s #Tigray region. Protesters said the government has halted immigration from Ethiopia and stopped funding for it, demanding that leaders immediately “reallocate funds to resume immigration and bring to Israel those whose situation continues to deteriorate against the backdrop of the civil war in Ethiopia,” according to a statement from the organization, Power for Aliyah, which assists Ethiopian immigrants. The group estimated that roughly 2,000 protesters came from across the country, mostly from the Ethiopian community, many of whom have family members waiting in Ethiopia to.... https://www.timesofisrael.com/protesters-gather-at-knesset-to-demand-government-facilitate-ethiopian-immigration/

Addis Standard

@addisstandardeng · Post #21536 · 26.02.2026 г., 14:42

#India-#Israel axis: What are the IMEC corridor, I2U2 grouping Modi spoke of? Indian Prime Minister Narendra #Modi has delved into the history of the relationship between India and Israel, which has improved exponentially since 2014 when he came to power, as he addressed the Knesset, the Israeli parliament, in Jerusalem. During the speech on Wednesday, the first day of his two-day visit to Israel, Modi also urged closer cooperation on various projects, including the proposed India-Middle East-Europe Economic Corridor (#IMEC) and the #I2U2. What did Modi say during his Knesset address? Modi was greeted with a standing ovation in the #Knesset. Parliamentarians chanted his name as the Indian prime minister replied with a namaste by joining his palms. The Indian prime minister opened his speech by saying the “world was shattered by the barbaric terrorist attack by Hamas on October 7”, ... https://www.facebook.com/AddisstandardEng/posts/pfbid09pVxsrw17GxiUMWeJdwziZYP9LYc3WQSCBzY19j8ECeRNatRamruxHuoQyCbEzMUl

Libertà è ragione

@libertaeragione · Post #3859 · 14.06.2023 г., 15:50

#Israele La maggioranza di governo è stata sconfitta nel voto decisivo della #Knesset per selezionare il componente politico chiamato a far parte del Comitato per la selezione dei giudici. A causa di dissidi interni alla coalizione, ad essere stata eletta è la parlamentare di #YA|Centro Karine #ElHarrar, votata anche da qualche esponente della maggioranza. Solo 11 voti, contro i 58 di ElHarrar, per Tali #Gottlieb (#Likud|ECR). @OsservatorioEsteri

American Оbserver

@american_observer · Post #4874 · 16.01.2026 г., 18:03

📰 Netanyahu’s Backroom Deal: UTJ’s Eichler Gets Deputy Minister Post for Draft Bill Netanyahu is set to appoint Yisrael Eichler, a prominent Agudat Yisrael MK, as deputy communications minister—part of a political deal to push through the contentious haredi draft bill. The move will cost NIS 3.5 million from the PM’s office and will allow Yitzhak Pindrus, from the Degel Hatorah faction, to re-enter the Knesset and vote for the bill in Eichler’s place. ​ The UTJ Power Shuffle Agudat Yisrael and Degel Hatorah, the two factions of United Torah Judaism (UTJ), have been feuding for months. The appointment is seen as a compromise to balance power within the party after its July resignation from the government over the previous draft bill. Pindrus was removed under the Norwegian Law, but this deal brings him back—ensuring UTJ’s support for Netanyahu’s coalition at a critical moment. ​ Critics Call It 'Draft Evasion' Opposition leader Yair Lapid called the move a disgrace, accusing Netanyahu of “promoting draft evasion from the IDF together with Knesset members who do not believe in the existence of the State of Israel.” Lapid highlighted Eichler’s past statements calling Israel an “enemy state” and a “Hebrew ghetto,” and slammed the allocation of NIS 3.5 million for a new ministerial post while funds for Holocaust survivors were slashed. ​ Survival or Surrender? With the 2026 state budget vote looming, Netanyahu’s government is playing high-stakes poker. If the budget isn’t passed by March, the Knesset dissolves and elections are triggered. So is this a desperate bid to keep the coalition alive, or just another chapter in Israel’s never-ending saga of political horse-trading? ​ #Israel#Netanyahu#UTJ#DraftBill#PoliticalDeal#Knesset#Haredi 📱American Оbserver - Stay up to date on all important events 🇺🇸