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 слични објави

Пребарај: #sats

当前筛选 #sats清除筛选
TokenPocket

@tokenpocket_channel · Post #1000 · 12.12.2023 г., 10:04

🟧 .sats domain name is live on TokenPocket_TP! 👉http://tokenpocket.pro 🌟You can view the .sats domain name directly on the TokenPocket Transfer page after you enter the #Bitcoin wallet address! Make #Bitcoin Great Again! #Ordinals#Bitcoin#SATs#TokenPocket $SATS 【Details】https://twitter.com/TokenPocket_TP/status/1734513835862798519 【Powered By】Crypto Box

TokenPocket

@tokenpocket_channel · Post #1050 · 26.12.2023 г., 09:07

🟧 Easily track the real-time #BRC20 Market on ​TokenPocket_TP! ✅Empowering you with real-time price updates and dynamic percentage changes! 📈 ✅Providing you with a more stable and convenient wallet service! 👉https://www.tokenpocket.pro/ #Bitcoin#BRC20#SATS#ORDI 【Details】https://twitter.com/TokenPocket_TP/status/1739573022779170991 【Powered By】Crypto Box

Most people lose in crypto not because of the market, but because of emotions. The solution is simple: accumulate BTC in small satoshi amounts regularly. You can start with $100 today. This is not financial advice. @saylor@APompliano@aantonop #Bitcoin#BTC#Sats#HODL#CryptoEducation#MyMining

TokenPocket

@tokenpocket_channel · Post #1033 · 21.12.2023 г., 05:33

✨ Unlock simplicity in #BRC20 transfer! 🚀Now, easily transfer your #BRC20 assets in just ONE step! 🔄 Inscribe and transfer seamlessly for a more efficient and convenient experience. 👉https://tokenpocket.pro Ready to experience seamless #BRC20 transactions? Follow the tutorial: 👉https://help.tokenpocket.pro/en/wallet-faq-en/btc-wallet/brc20 #Sats#ordi#RATS#Inscriptions 【Details】https://twitter.com/TokenPocket_TP/status/1737707370523005390 【Powered By】Crypto Box

TokenPocket

@tokenpocket_channel · Post #1025 · 19.12.2023 г., 03:22

🟧 TokenPocket Now Fully supports BRC-20! #BRC20 ✅#BRC20 tokens deposit, withdrawal, and token price display. ✅ Transfer your #BRC20 in one single transaction (Inscribe and Transfer in one step) 🆕We just released the iOS new version 🔺2.1.9🔺(TP Wallet) and Android new version 🔺1.9.5🔺. Upgrade your TP Wallet/TokenPocket and discover the #BRC20#Inscriptions world with us! 👉https://www.tokenpocket.pro/ #Sats#ordi#RATS#Inscriptions 【Details】https://twitter.com/TokenPocket_TP/status/1736949473048420555 【Powered By】Crypto Box

TokenPocket

@tokenpocket_channel · Post #1029 · 20.12.2023 г., 09:36

🟧Easily Track the hottest #BRC20 tokens on ​TokenPocket_TP! Still not too late to know this secret! 😍 ✅Click the "+" button on the #Bitcoin Asset page, and you can view the trending token list directly! Figure out what are most TokenPocket users interested in and get a chance to find a #GEM💎 with your #TokenPocket Wallet! 👉https://www.tokenpocket.pro/ #ORDI#SATs#BIIS#RATS 【Details】https://twitter.com/TokenPocket_TP/status/1737405949722366261 【Powered By】Crypto Box