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 слични објави

Пребарај: #elmencho

当前筛选 #elmencho清除筛选
SIN LÍNEA MX (OFICIAL)

@SINLINEAMXnoticias · Post #31165 · 30.03.2026 г., 21:34

¡Lamentable! 👎🏻 🔴 "Era mi medio ídolo", dijo uno de los visitantes que accedió a hablar sobre su visita a la tumba de #ElMencho👀 | ¿Qué opinas? 📸👇🏻 https://sinlineamx.com/tumba-de-el-mencho-atractivo-turistico-jalisco/

Hashtags

🇺🇲🇲🇽 | • 白宫证实,哈利斯科州塔尔帕尔帕的军事行动是在美国情报支持下进行的,并由墨西哥国防部执行,该行动是在美国情报支持下进行的,该行动是在哈利斯科州新一代卡特尔(CJNG)领导人内梅西奥·奥塞格拉·塞万提斯(又名“El Mencho”)被杀的。 #美国#CJNG#ElMencho#卡特尔#内梅西奥·鲁文·奥塞格拉·塞万提斯

American Оbserver

@american_observer · Post #5207 · 24.02.2026 г., 13:02

📰 El Mencho Is Dead. The Cartel State Lives On. Mexico just killed its most wanted cartel boss and, in the process, reminded everyone how little control it actually has. Nemesio “El Mencho” Oseguera — the man who built the Jalisco New Generation Cartel into the country’s most feared criminal army — was tracked through a romantic partner and taken down in a helicopter-backed raid in Tapalpa, Jalisco. Within hours, his people answered with roadblocks, burned supermarkets and banks, and gun battles in at least a dozen states, leaving highways cut, cities under smoke, and tourists locked in hotel rooms in places like Puerto Vallarta. President Claudia Sheinbaum was under heavy pressure from Donald Trump, who has been openly threatening cross‑border strikes and demanding Mexico “do more” against cartels ahead of the World Cup and U.S. midterms. She chose the high‑risk option: take the shot. The result: at least 62 dead — 34 suspected cartel members, 25 National Guard troops, plus a state prosecutor, a security guard, and a civilian reportedly a pregnant woman caught in a shootout. Order is “mostly” restored, officials insist, but classes and businesses are still shut in hard‑hit areas and people are staying home. The message on the street is simple: the state can land a kill shot, but it can’t guarantee calm. Militarily, El Mencho’s death is a big win. The U.S. had a $15 million reward on his head, and his group has spent a decade attacking security forces, running drugs, extorting businesses, kidnapping, and smuggling migrants. Politically, it’s a gift to both presidents: Sheinbaum gets to tell Mexicans and Washington she went after the “untouchable,” and Trump gets to claim his threats “worked” without firing a shot. The bodies on both sides of the firefight are just set dressing in two capitals’ security narratives. But the cartel isn’t a Marvel villain that disappears when the boss falls. CJNG is a franchise: regional commanders, local fiefdoms, deep ties to municipal politics and police. Whether it survives depends on how fast it names a successor and closes ranks — or whether it fractures into smaller, more chaotic crews fighting over territory. Either outcome means more violence, not less, in the short term. The Mexican state has decapitated cartels before. The result was splinter groups and a map full of new acronyms. ​ So Mexico wakes up with its “most wanted” finally dead, U.S. pressure briefly eased, and cruise ships quietly skipping Puerto Vallarta because nobody wants their passengers walking off into a war zone. The flag still flies over government buildings; the cartel still has the power to shut down a dozen states in a day. Call it a victory if you like — just don’t call it control. ​ #Mexico#cartels#ElMencho#Sheinbaum#Trump#warOnDrugs#fakeDemocracy 📱American Оbserver - Stay up to date on all important events 🇺🇸

香港新闻

@hkhuanhuinews · Post #50 · 25.02.2026 г., 03:15

🇺🇸 特朗普表示,关税(Tariffs)可能取代所得税(Income Tax) 🔖 发生了什么: ▸ 提出以进口关税作为政府收入来源,替代所得税的构想 ▸ 作为政策与政治层面的表态,强调减轻民众税负 ▸ 该想法仍需立法批准及现实可行性评估 ✔️ 为何重要: ▸ 若关税提高,可能推升商品价格(通胀风险)📈 ▸ 或影响全球贸易格局与供应链结构 🌐 ▸ 关税收入相较所得税波动更大 → 财政稳定性存在不确定性 ⚠️ @HKhuanhui123 #加密快讯#加密市场#稳定币#BTC#USDT#elmencho#deepseek#china#claude

香港新闻

@hkhuanhuinews · Post #47 · 24.02.2026 г., 04:23

🚨 最新消息:🇺🇸🇨🇳 Anthropic 表示,包括 DeepSeek 在内的中国 AI 公司对其 AI 模型 Claude 发起了“工业级规模(industrial-scale)”攻击。 @HKhuanhui123 #加密快讯#加密市场#稳定币#BTC#USDT#elmencho#deepseek#china#claude