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

Резултати

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

Пребарај: #biodiversity

当前筛选 #biodiversity清除筛选
Interesting Planet 🌍

@interesting_planet_facts · Post #1190 · 04.01.2026 г., 12:11

🌎 Some mid-ocean ridges, like the Mid-Atlantic Ridge, are areas where new seafloor is constantly created as tectonic plates move apart. Hydrothermal vents along these ridges support unique ecosystems, including tube worms and giant clams, which thrive in total darkness using chemical energy instead of sunlight. ✨ #ocean⚡#geology⚡#biodiversity 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #586 · 19.08.2025 г., 00:22

🌎 Deep beneath the Caribbean Sea, the deepest known blue hole—Dean’s Blue Hole—plunges over 200 meters. Its tight entrance leads to vast, vertical caverns, hosting unique marine life adapted to total darkness and low oxygen levels. ✨ #geology⚡#ocean⚡#biodiversity 👉subscribe Interesting Planet

Tomoko RD

@tomoko_channel · Post #447 · 01.06.2024 г., 14:59

🔖 [破事氵] 自家老板想做游戏的后续 NGA玩家社区 P3 #pinboard#game#biodiversity 二游这边的瓜真是越吃越大,男女对立、转移支付、混厕什么的。 前几天逛了一下 nga 以及贴吧,真的是接近粪坑了,全是各种二游在社区 PVP。(大脑被污染了,CPU满负荷,谁来救救) https://bbs.nga.cn/read.php?tid=40389397&page=3 #二游节奏

Eco-schools Uzbekistan

@ecoschools_uzbekistan · Post #1032 · 24.05.2024 г., 07:02

👋😉 Barchaga salom! 🐳 Xalqaro bioxilma-xillik kunida Toshkentdagi BMTTD mamlakat ofisi "Eco-schools Uzbekistan" loyihasi ishtirokchilari uchun Ochiq eshiklar kunini o‘tkazdi. 🌲 BMTTD xodimlari bolalarimizga qiziqarli ekskursiya uyushtirib, o‘z ofisida qo‘llanilayotgan ekologik yechimlar va qiziqarli BIOFIN tashabbusi haqida ma’lumot berishdi hamda uning tabiatni asrash va tiklashdagi o‘rni haqida so‘zlab berishdi. Tadbir yakunida o‘quvchilar olingan bilimlarni mustahkamlash maqsadida viktorinada ishtirok etdi. #EcoSchoolsUzbekistan#Biodiversity#BIOFIN — 👋😉 Всем привет! 🐳 В Международный день биоразнообразия страновой офис ПРООН в Ташкенте провёл День открытых дверей для участников проекта Eco-schools Uzbekistan. 🌲 Сотрудники UNDP устроили нашим ребятам интересную экскурсию, рассказали об экологических решениях, которые уже применяют в своём офисе и об интересной Инициативе БИОФИН и какую роль она призвана играть в сохранении и восстановлении природы. А в завершении мероприятия школьники приняли участие в викторине, чтобы закрепить полученные знания. #EcoSchoolsUzbekistan#Biodiversity#BIOFIN 🌐Zamin🌐Instagram🌐Facebook

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40018 · 05.11.2025 г., 14:04

Today we at @googlefactss present to you: Alytes muletensis — the Majorcan midwife toad. First only known from fossils in 1977 and presumed extinct, live individuals were found in Mallorca three years later. This tiny endemic lives only in Tramuntana mountain streams, where males carry and keep the eggs moist on their backs until they hatch. 🐸🌿 [Source] @googlefactss #conservation#biodiversity#LazarusSpecies

Interesting Planet 🌍

@interesting_planet_facts · Post #1146 · 20.12.2025 г., 12:11

🌎 The saiga antelope’s enlarged, drooping nose acts as a built-in air filter and cooler on the Central Asian steppes. When alarmed, herds can stampede at speeds up to 80 kilometers per hour. ✨ #animals⚡#evolution⚡#biodiversity 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1019 · 09.11.2025 г., 18:11

🌎 The shoebill stork stands over 1.2 meters tall and has a massive, shoe-shaped bill up to 24 centimeters long. Native to East African swamps, this solitary bird hunts lungfish, frogs, and even baby crocodiles. ✨ #animals⚡#biodiversity⚡#evolution 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1376 · 17.04.2026 г., 12:11

🌎 In Slovenia, the Postojna Cave harbors a rare blind amphibian called the olm, which can live without food for up to 10 years. The cave stretches over 24 kilometers and contains vast chambers, underground rivers, and prehistoric animal remains. ✨ #geology⚡#caves⚡#biodiversity 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1167 · 26.12.2025 г., 22:11

🌎 Beneath Borneo’s limestone hills, the Clearwater Cave system spans over 237 kilometers, making it one of the world’s largest interconnected cave networks. Its underground river flows for 11 kilometers, supporting unique species like blind catfish and swiftlets that nest in its dark chambers. ✨ #caves⚡#geology⚡#biodiversity 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1080 · 28.11.2025 г., 12:11

🌎 The world’s deepest cave, Veryovkina Cave in Georgia, plunges to 2,212 meters below the surface. Its vertical shafts, tight squeezes, and frigid underground streams challenge expert cavers. Specially adapted crustaceans and fungi live in total darkness at these extreme depths. ✨ #caves⚡#geology⚡#biodiversity 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #704 · 07.09.2025 г., 13:22

🌎 In Croatia’s Velebit Mountains, the Lukina Jama–Trojama cave system plunges over 1,431 meters deep, housing rare leech species and tiny amphipods. Exploring these deep caves requires specialized rope techniques and careful study of underground water flows, revealing new life forms adapted to total darkness and isolation. ✨ #caves⚡#biodiversity⚡#geology 👉subscribe Interesting Planet ​

123•••910
ПретходнаСтраница 1 од 10Следна