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

Резултати

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

Пребарај: #property

当前筛选 #property清除筛选
Bali News

@balinews · Post #93 · 18.06.2024 г., 16:15

🇨🇳Tourism from China has returned to values before COVID-19 and why this is important for Bali Recent statistics show that tourists from China have started traveling again. The biggest growth is in Southeast Asian countries, primarily Thailand and Indonesia. In fact, Chinese go 170 million trips abroad, which is 14% of the total global tourist traffic. Figures for 2024 already indicate that the number of tourists will grow by at least 10% compared to 2019. Why it matters for Bali? So, China has shared the top spot in tourist numbers with Australia since 2018. And given the unequal opportunities in terms of total population, the country will take the top spot in the next few years. For Bali's real estate market, this should be a new growth driver. The Chinese have traditionally loved investing in real assets. They are also the leaders in the number of overseas real estate transactions in the entire region. First of all, Chinese buyers are interested in secondary real estate. People are in favor of the most reliable investments, even though they are less profitable. @BaliNews #statistics#tourism#property

Bali News

@balinews · Post #53 · 20.05.2024 г., 09:31

📈 First quarter 2024 results for Indonesia in figures According to Indonesia's Central Statistics Agency, there has been a steady increase in tourist arrivals, with more than 3,000,000 foreign tourists visiting Indonesia in the first quarter of 2024, up 25% from the same period in 2023. 44.5% of the total number of tourists were received by the island of Bali. That indicates the high investment potential of tourism real estate in Bali Island 🤑 @BaliNews #economics#statistics#property

🛡 Innovatsion tadbirkorlikda intellektual mulkni samarali himoyasi qilish bo‘yicha seminar tashkil etildi 💡 Seminar on Effective Intellectual Property Protection in Innovative Entrepreneurship 📊 Проведен семинарпо эффективной защите интеллектуальной собственности в инновационном предпринимательстве #GraduateSchool#Seminar#IIntelectual#Property 🔝Web-site |🔝Facebook |🔝Instagram | 🔝Youtube

🇺🇿Raqamli iqtisodiyot sharoitida intellektual mulk 📚 Tadbirda spiker sifatida Maks Plank nomidagi Innovatsiyalar va raqobat instituti (Germaniya) katta ilmiy xodimi, intellektual mulk va raqobat huquqi bo‘yicha yetakchi ekspert Darya Kim ishtirok etdi. 🔍Intellectual Property in the Digital Economy 📖 The speaker of the event was Daria Kim, Senior Research Fellow at the Max Planck Institute for Innovation and Competition (Germany), an expert in intellectual property and competition law. 🌐Интеллектуальная собственность в условиях цифровой экономики 💻 Спикером мероприятия выступила старший научный сотрудник Института Макса Планка по инновациям и конкуренции (Германия), эксперт в области интеллектуальной собственности и конкурентного права Дарья Ким. #GraduateSchool#Intellectual#Property#Law 🔝Web-site |🔝Facebook | 🔝Instagram | 🔝Youtube

MDC Uzbekistan

@mdcuzbekistan · Post #636 · 13.01.2023 г., 16:18

.NET da Reflection Runtime paytda, obyektlarning metadatalari bilan o'ynashmoqchi bo'lsangiz, mana sizga System.Reflection. Ushbu mavzuni yaxshi o'zlashtirgan dasturchiga yopiq maydonlar ham ochiq bo'ladi. Mavzuni yaxshiroq yoritib beritish maqsadida, IlmHub o'quv markazi .NET o'qituvchisi Javlon Fattoevni speaker sifatida taklif qildik. Barchangizni ushbu mahorat darsida kutib qolamiz. Kirsangiz hursand bo'lamiz, kirmasangiz hafa bo'lish yo'q ) Sana: 15-yanvar, 20:00 Havola: Zoom Speaker: Javlonbek Fattoev #reflection#property#method#attribute .NET Uzbekistan Community ➖➖➖➖➖➖➖➖➖➖ Telegram | Instagram | Youtube