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

Резултати

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

Пребарај: #mysteries

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

@interesting_planet_facts · Post #673 · 02.09.2025 г., 03:22

🌎 Astronomers have detected rapid radio bursts—millisecond-long signals from distant space. These intense pulses hint at extreme events, like collapsing stars or magnetars, yet their exact origin remains one of space’s most intriguing mysteries. ✨ #astronomy⚡#space⚡#mysteries 👉subscribe Interesting Planet ​

Interesting Planet 🌍

@interesting_planet_facts · Post #647 · 28.08.2025 г., 20:22

🌎 Space isn’t silent—astronomers have recorded eerie “whistles” and “choruses” from planets like Jupiter. These radio waves, caused by charged particles moving through magnetic fields, are transformed into sound waves we can hear when played back on Earth. The haunting tunes of space reveal hidden cosmic activity all around us. ✨ #astronomy⚡#space⚡#mysteries 👉subscribe Interesting Planet ​

Interesting Planet 🌍

@interesting_planet_facts · Post #776 · 18.09.2025 г., 18:22

🌎 Off the coast of Scotland, the Orkney Islands’ Tomb of the Eagles is a Stone Age burial site containing over 16,000 human and animal bones. Archaeologists discovered that the tomb, built around 3150 BCE, was used for more than 800 years before being sealed. ✨ #archaeology⚡#mysteries⚡#prehistory 👉subscribe Interesting Planet ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1117 · 10.12.2025 г., 18:11

🌎 The "Bloop" is one of the loudest underwater sounds ever recorded. Detected by NOAA hydrophones in 1997, this low-frequency noise was picked up over 5,000 kilometers apart. Scientists later identified melting icebergs as the likely source, not a sea creature or submarine volcano. ✨ #ocean⚡#sound⚡#mysteries 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #984 · 28.10.2025 г., 18:11

🌎 Mysterious low-frequency sounds known as "The Upsweep" have been picked up by underwater microphones in the Pacific Ocean since 1991. This persistent sound rises and falls in pitch, lasts several seconds, and is strongest in spring and autumn. Its source remains unidentified, but some researchers suggest volcanic activity near the origin point may be involved. ✨ #ocean⚡#mysteries⚡#sound 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #671 · 01.09.2025 г., 20:22

🌎 On the border between Egypt and Sudan lies Bir Tawil, a peculiar territory claimed by neither country. Due to a mapping oddity, Bir Tawil is one of the world’s rare “unclaimed” lands, standing as a real-life no man’s land on modern maps. ✨ #geography⚡#borders⚡#mysteries 👉subscribe Interesting Planet ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1342 · 16.03.2026 г., 12:11

🌎 The Brandberg Mountain in Namibia is famous for its mysterious White Lady rock painting, estimated to be at least 2,000 years old. Archaeologists debate whether the figure represents a woman, man, or ritual dancer, and the exact meaning of the painting remains unclear. The site contains over 45,000 individual rock paintings. ✨ #archaeology⚡#Namibia⚡#mysteries 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1264 · 31.01.2026 г., 12:11

🌎 The underwater Stone Circles of Lake Michigan were discovered in 2007 by archaeologists using sonar. The stones are arranged in a circle about 12 meters below the surface. One stone features a carving resembling a mastodon, hinting at a possible age of over 10,000 years. ✨ #mysteries⚡#archaeology⚡#lake 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1232 · 17.01.2026 г., 22:11

🌎 Bolshoi Zayatsky Island in Russia’s White Sea features hundreds of mysterious stone labyrinths, or “Babylons,” built by unknown people. Most date back 2,000–3,000 years. Archaeologists suggest they served ritual or astronomical purposes, but their exact function remains unproven. ✨ #mysteries⚡#archaeology⚡#Russia 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1207 · 09.01.2026 г., 18:11

🌎 The ancient city of Hattusa, capital of the Hittite Empire, features massive stone walls, elaborate gates, and mysterious underground tunnels. Archaeologists found cuneiform tablets here describing treaties, religions, and daily life. The site was abandoned around 1200 BCE for unknown reasons. ✨ #Hittite⚡#archaeology⚡#mysteries 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #915 · 15.10.2025 г., 22:11

🌎 The disappearance of 20,000-year-old giant cave art in Chauvet Cave, France, puzzles scientists. Some images faded, while others vanished completely, possibly due to natural mineral changes, humidity, or hidden collapses in the limestone walls. The cave holds more than 1,000 preserved prehistoric paintings and engravings. ✨ #archaeology⚡#mysteries⚡#art 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #710 · 08.09.2025 г., 13:22

🌎 Deep in the Ural Mountains of Russia, the remote plateau called Manpupuner features seven enormous stone pillars, each up to 42 meters tall. These ancient rock formations, shaped by frost and wind over millions of years, were considered sacred by Indigenous Mansi people. The pillars’ unique shapes and mysterious origin make them one of Russia’s least accessible and most enigmatic natural monuments. ✨ #geology⚡#mysteries⚡#Russia 👉subscribe Interesting Planet ​

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