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

Резултати

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

Пребарај: #virgo

当前筛选 #virgo清除筛选
Universe Mysteries 🪐

@cosmomyst · Post #754 · 28.04.2026 г., 22:21

🪐 The quasar 3C 273, located in the constellation Virgo about 2.4 billion light-years from Earth, was the first quasar ever identified and remains one of the brightest in the sky. A quasar is a super-energetic beacon powered by a supermassive black hole devouring matter, shining so brightly that it can outshine entire galaxies, and 3C 273 helped scientists understand just how extreme and distant these cosmic engines can be. ✨ #quasars⚡#astronomy⚡#virgo⚡#nasa⚡#galaxy⚡#stars⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels ​

Universe Mysteries 🪐

@cosmomyst · Post #368 · 03.10.2025 г., 18:21

🪐 The distance from Earth to the Virgo Cluster, a giant grouping of galaxies, is about 55 million light-years—meaning the light we see from its member galaxies, like Messier 87, began its journey long before the first dinosaurs appeared on our planet. Even within the Virgo Cluster, galaxies can be separated by hundreds of thousands of light-years, showing that cosmic neighborhoods are staggeringly vast compared to our entire solar system. ✨ #spacedistances⚡#galaxies⚡#virgo⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels ​

Universe Mysteries 🪐

@cosmomyst · Post #569 · 20.12.2025 г., 12:21

🪐 Far out in the Virgo Cluster, astronomers observed a rare cosmic event called an "ultra-compact dwarf galaxy collision," where two tiny, densely packed galaxies like M60-UCD1 have smashed together. The aftermath of such a collision can create ultrabright X-ray sources and disrupt the structure of both galaxies, showing that even small galaxies can undergo dramatic and strange transformations when they collide in deep space. ✨ #cosmicphenomena⚡#collisions⚡#virgo⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels ​

Chico_Tumblr

@Chico_Tumblr · Post #7582 · 06.04.2022 г., 18:28

La manera de hacer enojar a cada signo😤: #Aries♈️: Ignorandolo. #Tauro♉️: Pedirle más de lo que puede hacer. #Geminis♊️: Presionarlo a hacer algo que no quiere hacer. #Cancer♋️: Obligale a admitir que está equivocado. #Leo♌️: Niego sus palabras. #Virgo♍️: Que le lleven la contraria en lo que sea. #Libra♎️: Excluyendole de tus planes. #Escorpio♏️: Cometiendo errores absurdos. #Sagitario♐️: Cancelando un plan a última hora. #Capricornio♑️: Dile cómo tiene que hacer las cosas. #Acuario♒️: Cortale las alas. #Piscis♓️: No le des las gracias nunca. @EsTuHoroscopo.🔮

⚜🌺LA PUTA DEL POETA🌸

@laputadelpoeta · Post #14916 · 27.01.2023 г., 21:59

Lo que a los signos mas les gusta de su pareja🥰: #Aries♈️: Que le dejé ponerse sus sudaderas. #Tauro♉️: Que le haga una playlist. #Geminis♊️: Que le dejé hablar de sus pasiones. #Cancer♋️: Que hable de sus sentimientos sin timidez. #Leo♌️: Que le diga que es el/la más guapx. #Virgo♍️: Que siga hablándole aunque desaparezca durante días. #Libra♎️: Que tengan el mismo gusto musical que él/ella. #Escorpio♏️: Que se pueda hablar de cualquier cosa con su pareja. #Sagitario♐️: Que se ría de cualquier meme que le enseñe. #Capricornio♑️: Que vea cualquier serie con él/ella. #Acuario♒️: Que entienda que necesita su espacio. #Piscis♓️: Que recuerde cualquier pequeño detalle. @EsTuHoroscopo.🔮