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

Резултати

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

Пребарај: #railways

当前筛选 #railways清除筛选
Indian Development News 🇮🇳

@developmentnewsindia · Post #44423 · 05.05.2026 г., 04:33

Indian Railways has officially issued the Gazette Notification for operationalizing the new South Coast Railway Zone. 🔹 Divisions included: • Visakhapatnam • Vijayawada • Guntur • Guntakal #Railways

Hashtags

Indian Development News 🇮🇳

@developmentnewsindia · Post #44382 · 04.05.2026 г., 04:04

South Central #Railways seeks ~1,125 acres in Telangana for 4 mega coaching terminals around Hyderabad—sites at Dabilpur (250 acres), Nagulapalli (325), Jukkal (300) and Cherlapalli expansion (250). Plan aims to decongest Secunderabad/Hyderabad/Kacheguda hubs.

Hashtags

Indian Development News 🇮🇳

@developmentnewsindia · Post #44336 · 02.05.2026 г., 12:35

Indian Railways Approves ₹895.30 Crore Projects for Power System Upgradation and Bridge Infrastructure ₹671.72 Cr Kolkata Metro Upgrade with 7 New Traction Substations and Power System Augmentation from 11KV to 33 KV for Higher Frequency & Capacity Expansion Approvals to Pave Way for 2.5-Minute Metro Headway Upgrade from Existing 5-Minute Operations, Boosting Line Capacity to Meet Rising Passenger Demand ₹223.58 Cr Adra Bridge Project to Strengthen Critical Freight Route and Industrial Connectivity #Railways

Hashtags

«Узтемирйулконтейнер» преобразовался в «Темирйулкарго»🇺🇿🚆 Не только новое название, но и новые услуги: • по управлению грузоперевозками «от двери до двери» • по формированию логистических центров и терминалов • по созданию логистических цепочек поставок грузов с функцией оперирования мультимодальными логистическими терминалами за рубежом Очень интересно, что из этого получится🚂 #UZBEKISTAN#RAILWAYS

Indian Development News 🇮🇳

@developmentnewsindia · Post #44106 · 27.04.2026 г., 06:15

Sikkim’s first railway station Rangpo Terminal takes shape on the Sivok Rangpo line 🚄🇮🇳 ▪️ B+G+5 with local Architecture on 16.5 acres ▪️ Cost : ₹335+ Cr ▪️ Promoter : Northeast Frontier Railway Division ▪️ Contractor : IRCON International Limited ▪️ Status : Under Construction #Railways#Infra

Indian Development News 🇮🇳

@developmentnewsindia · Post #44064 · 25.04.2026 г., 14:13

#Railways Minister Ashwini Vaishnaw inaugurates Aditya, BEML’s self reliant high speed bullet train plant in Bengaluru 🚄🇮🇳 The facility will build indigenous B28 trains and future B35 next gen sets, boosting Bharat’s push for advanced, homegrown high speed rail. #aatmarnirbharbharat Ashvini Vaishnaw: India’s Aatmanirbhar bullet train B28 is being developed with manufacturing at BEML’s Aditya plant equipped with advanced, high precision machines, including robotic laser welding systems. 🚄🇮🇳

Indian Development News 🇮🇳

@developmentnewsindia · Post #43596 · 14.04.2026 г., 14:21

🇮🇳🤝🇧🇩 Bangladesh is moving ahead with a significant upgrade of its railway network, with plans to procure 200 broad-gauge passenger coaches from India in a deal to strengthen capacity and improve services across key routes. #Railways Minister Shaikh Rabiul Alam informed Parliament that deliveries are scheduled to begin in 2026 and will continue in phases until December 2027 #Exports https://swarajyamag.com/news-brief/bangladesh-to-induct-200-indian-broad-gauge-coaches-by-2027-signals-wider-fleet-expansion

Indian Development News 🇮🇳

@developmentnewsindia · Post #44043 · 24.04.2026 г., 19:44

Indian #Railways is delivering transformation at scale: 55,000 km of track renewed since 2014, 90% fewer rail failures, and track running at 110 kmph+ has risen from 40% to 80%. 🛤🚉 Indian Railways carries 25,000+ trains and 20 million+ passengers daily. Over 80,000 km of stronger rail network, 44,000 km of upgraded sleepers, and 8,00,000 machine-hours logged. When the backbone improves, the impact multiplies across safety, punctuality, logistics, and productivity. That is nation-building in motion. #Reforms#Infra

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