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

Резултати

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

Пребарај: #traditions

当前筛选 #traditions清除筛选
RTDocumentary

@rtdocumentary · Post #817 · 26.05.2022 г., 10:18

Deaths and kidnappings are rising in Haiti’s capital Port-au-Prince. More than 200 victims were shot, cut, or burned from April 24 till May 16 as part of a gang war. According to the U.N. High Commissioner for Human Rights, 92 of the dead were civilians, 113 people were injured, 12 were missing, and 49 were kidnapped. Schools, hospitals, and businesses are closed due to the rising crime. Criminals are said to rape children as young as 10 and burn people alive. In addition, thousands of families had to move and leave their homes because of gang fights. Are you interested in what it’s like to live in Haiti? Then, watch our documentary film, Voodoo Spirits of Haiti, about the county’s people, habits, and beliefs. #traditions Follow: https://t.me/rtdocumentary

Hashtags

RTDocumentary

@rtdocumentary · Post #837 · 29.05.2022 г., 15:59

'Our real life happens here. Our children grow up here. Raising kids in the tundra is tough, but children are still needed'. That what's our film's subject says about living in the far North. Pavla lives in the tundra, and she is a ‘chumwife’, a housewife of Russia’s traditional far North nomadic people. She runs all the household and brings up children by herself. Her family also raise deer. Watch our video to learn more about their life. Pavla's family story is in the documentary Tundra Wonder Mums. #traditions#humanstories Follow: https://t.me/rtdocumentary

Interesting Planet 🌍

@interesting_planet_facts · Post #971 · 27.10.2025 г., 18:11

🌎 In Madagascar, the turning of the bones ceremony, or Famadihana, sees families exhume ancestors, rewrap the remains in fresh cloth, and dance with the bodies to live music. This ritual, held every seven years, honors lineage and strengthens family bonds. ✨ #traditions⚡#anthropology⚡#Madagascar 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #937 · 19.10.2025 г., 22:11

🌎 For centuries, residents of Whittlesea, South Africa, have participated in the Intonjane ritual—a traditional female initiation ceremony. Young women undergo seclusion, teachings about adulthood, and symbolic rituals marking the transition to womanhood. Anthropologists report Intonjane is practiced mainly among Xhosa communities and usually lasts about a week. ✨ #culture⚡#traditions⚡#anthropology 👉subscribe Interesting Planet 👉more Channels ​

ЮАР. Танец дождя народности Балобеду, провинция Лимпопо. _________________ A taste of the magical rain dance from the Balobadu People of South Africa, Limpopo. https://www.youtube.com/watch?v=4618qlhssyk #culture#traditions #культура#традиции

International News

@intnewsagency · Post #9383 · 26.04.2026 г., 13:36

Russia Tightens Stadium Fan Rules Russia has introduced stricter regulations for fans at stadiums. Banners, flags, and slogans will now be checked against traditional spiritual and moral values outlined in a presidential decree. Any inscriptions or symbols deemed offensive or likely to provoke negative reactions are banned. Behavioral rules have also been expanded to prohibit acts that insult the honor and dignity of participants and spectators. Whether these measures will restore order or fuel fan discontent remains uncertain. #Russia#sports#fans#traditions The main news of Russia and the world ishere.

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