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

Резултати

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

Пребарај: #gucard

当前筛选 #gucard清除筛选
Gumart Announcement 🛒

@gumartec · Post #201 · 16.02.2025 г., 17:37

🚀 THE GUCARD CHAMPIONS’ LEAGUE BEGINS! 🔼 GuCard is officially LIVE for our first whitelist users! 🎉 Congratulations to those who are among the first to experience the future of payments! Now it’s time to show the world how GuCard works in real life! 🌍💵 🎥 How to Join: 1️⃣Create a video showcasing how you use your GuCard in everyday transactions. 2️⃣ Post it on X and tag @Gumart__. 3️⃣ Use #GuCard to spread the word! 🏆 BIG PRIZES (Top 3 Winners): $5,000in total (loaded directly onto your GuCard!) 🗓Contest period:Feb 16 – Feb 28 Be creative, be bold, and let’s show the world the power of GuCard! 💳

Hashtags

Gumart Announcement 🛒

@gumartec · Post #219 · 10.03.2025 г., 10:13

📦 GUCARD CHAMPIONSHIP EXTENDED – MORE TIME, MORE REWARDS! ⚡️ Due to the incredible response, we’re extending the GuCard Champions League until March 22! ✨ That means more chances to win BIG while showcasing how you use GuCard in real life! 🎥 How to Join: 1️⃣ Create a video showing how you use your GuCard for everyday payments. 2️⃣ Post it on X and tag @Gumart_Official. 3️⃣ Use #GuCard to spread the word! 🏆 BIG PRIZES – NOW EXTENDED! 💰 Top 3 Winners: $5,000 in total (loaded directly onto your GuCard!) 🗓 New Deadline: March 22 More time, more winners, and even more ways to showcase GuCard’s power! 💳 #GuMinigame

Gumart Announcement 🛒

@gumartec · Post #181 · 05.01.2025 г., 15:19

✨🥳 GUCARD CREATIVE CONTEST IS HERE! 🥳✨ Are you ready to show off your creativity and love for Gumart? 💸 Join the Gucard Creative Contest and turn your ideas into amazing content! 🎥🖌 👍 How to Join: 1️⃣ Create unique content (video, photo, meme, or text) featuring Gucard or Gumart. 2️⃣ Post it on X or YouTube with the hashtag #Gucard#Gumart 🏆Prizes Await You: 🎖Main Prizes: 1st Place: 1,000 USDT (1 winner) 2nd Place: $500 USDT (3 winners) 3rd Place: $50 USDT (5 winners) 🌟 Community Choice Awards: 50 winners: $10 each (based on community engagement). 💳 Special Bonus: All winners will receive a free Gucard! 🗓Timeline: 🕐 Start: January 5, 2025 ⏳ End: January 19, 2025 🔥 Criteria for Winning: Creativity, quality, and interaction - bring your A-game! #GuMinigame

Gumart Announcement 🛒

@gumartec · Post #235 · 03.04.2025 г., 08:15

🥉 GuCard Champions' League – Third Place Revealed!🛍 After NYC and Korea, we now head to the Philippines! Big congratulations to @mkddavidson, our 3rd Place Winner, who showed how easy it is to grab snacks at the supermarket or order McDonald’s - all using GuCard and GTP. 👍 You’ve won 1,000 USDT, already loaded to your GuCard! 🎥 Watch the winning video: link GuCard is going global - and this is just the beginning!✋ #GuMinigame#GuPay#GuGoGlobal#GuCard