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

Резултати

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

Пребарај: #crystals

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

@interesting_planet_facts · Post #1395 · 07.05.2026 г., 22:11

🌎 At the Musonoi mine in the Democratic Republic of the Congo, the mineral cuprosklodowskite forms vivid green crystals rich in uranium. This rare mineral is highly radioactive and prized by collectors, but handling it requires special care because of its radioactivity. ✨ #minerals⚡#crystals⚡#geology 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1368 · 08.04.2026 г., 12:11

🌎 At Canada’s Mount Saint-Hilaire, the mineral serandite forms pinkish-orange crystals that are so rare, top-quality specimens are found only at this site. Serandite is a sodium, calcium, and manganese silicate, prized by collectors for its vibrant color and crystal shapes. ✨ #minerals⚡#geology⚡#crystals 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1224 · 15.01.2026 г., 12:11

🌎 The world's rarest mineral is kyawthuite, a reddish-orange crystal discovered in Myanmar. Only one confirmed specimen exists, weighing just 1.61 carats, and it is made of bismuth, antimony, and oxygen. ✨ #minerals⚡#geology⚡#crystals 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1192 · 04.01.2026 г., 18:11

🌎 Tanzanite is a vivid blue-violet mineral found only in a small area near Mount Kilimanjaro, Tanzania. This rare crystal is a variety of zoisite colored by trace amounts of vanadium. The entire world’s supply comes from a mining zone just 7 kilometers long. ✨ #minerals⚡#crystals⚡#geology 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1162 · 25.12.2025 г., 12:11

🌎 In the Himalayas, rare crystal minerals like cavansite and scolecite form in volcanic rock cavities. Cavansite appears as brilliant blue clusters, while scolecite grows in needle-like sprays. Some Himalayan cavansite crystals are less than a few millimeters wide. ✨ #minerals⚡#crystals⚡#geology 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1133 · 15.12.2025 г., 22:11

🌎 Bhutanite is an exceptionally rare mineral discovered in the Himalayan mountains of Bhutan. It forms metallic blue-gray crystals and contains copper, bismuth, and sulfur. Fewer than a dozen confirmed specimens exist worldwide, making it highly prized among mineral collectors. ✨ #minerals⚡#geology⚡#crystals 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1042 · 15.11.2025 г., 22:11

🌎 In 2009, the mineral putnisite was discovered in Western Australia. This vibrant purple mineral forms tiny cubic crystals and contains strontium, calcium, chromium, sulfur, oxygen, hydrogen, and carbon. Unlike any known mineral group, putnisite’s unique chemical structure has fascinated mineralogists worldwide. ✨ #minerals⚡#geology⚡#crystals 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1002 · 03.11.2025 г., 22:11

🌎 Hidden deep in Greenland’s Ilímaussaq complex, the mineral arfvedsonite forms striking blue-black crystals. This rare silicate mineral is found mainly in alkaline igneous rocks and is prized by mineral collectors. Some arfvedsonite crystals can reach lengths over 30 centimeters. ✨ #minerals⚡#crystals⚡#geology 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #928 · 18.10.2025 г., 12:11

🌎 Some of Earth’s rarest minerals include fingerite, found only near one volcano in El Salvador, and red beryl, which forms under extreme volcanic conditions in Utah. Fewer than one red beryl crystal is found for every 150,000 diamonds. ✨ #minerals⚡#crystals⚡#geology 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #861 · 05.10.2025 г., 12:11

🌎 In Greenland, the mineral tugtupite glows bright pink or red under ultraviolet light due to its unique crystal structure. This rare silicate forms in only a few places worldwide and is prized for use in jewelry. Tugtupite was first identified in 1962, and gem-quality stones are especially sought after by collectors. ✨ #geology⚡#minerals⚡#crystals 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #827 · 28.09.2025 г., 15:11

🌎 In Pakistan’s Balochistan province, the mineral rehmeyerite is so rare that only a handful of crystals have ever been found. Rehmeyerite forms as thin, metallic blades containing selenium, and its largest specimens rarely exceed a few millimeters in length. ✨ #minerals⚡#geology⚡#crystals 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #797 · 22.09.2025 г., 15:11

🌎 The mineral cobaltite is prized by collectors for its metallic silver-gray cubes with a pinkish hue. Found mainly in Sweden, Norway, and Canada, cobaltite is a rare source of the metal cobalt, essential for rechargeable batteries and jet engine alloys. Its crystals rarely exceed 2 centimeters in size. ✨ #minerals⚡#geology⚡#crystals 👉subscribe Interesting Planet ​

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