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

Резултати

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

Пребарај: #clmm

当前筛选 #clmm清除筛选
Cetus Announcements

@CetusProtocol · Post #172 · 24.07.2023 г., 03:21

Enhance your #CLMM experience on Cetus with smarter options🔥 Customize your liquidity range while also enjoying compatibility with the traditional full range Whether you prefer a passive or active LP management approach, you can pursue APRs at varying levels, combining swap fee income and $CETUS rewards to maximize your returns https://twitter.com/CetusProtocol/status/1680832630890156032?s=20 @everyone

Hashtags

Cetus Announcements

@CetusProtocol · Post #110 · 10.03.2023 г., 14:59

Big news 🐳 Our "Concentrated Liquidity" pool is LIVE on the #Sui devnet! Designed for Sui's object-oriented structure, our #CLMM offers better capital efficiency, deeper markets & more programmability. Join our public test & help us make it stronger for future mainnet release! https://twitter.com/cetusprotocol/status/1634204236769632257?s=46&t=ccsj9rNrt7PjDyElYNOfhQ @everyone

Hashtags

Cetus Announcements

@CetusProtocol · Post #72 · 17.01.2023 г., 14:16

New Pools: $ALT - $APT Add liquidity to $ALT - $APT pool by @AptoslaunchIO on #Cetus and earn a significantly high APR from now🎉🎉 #Aptos#CLMM https://twitter.com/cetusprotocol/status/1615351869861408769?s=46&t=6A2MjEjk9axhFYN50xgAVQ @everyone

Cetus Announcements

@CetusProtocol · Post #70 · 14.01.2023 г., 14:12

From alpha to beta, the biggest upgrade is to introduce the Concentrated Liquidity Market Maker (#CLMM), making #Cetus the first purely CLMM-based DEX with strong accessibility and security on #Aptos mainnet. For more info, please check via https://medium.com/@CetusProtocol/cetus-library-concentrated-liquidity-clmm-bd63936dfa0 https://twitter.com/CetusProtocol/status/1614263895002320896?s=20&t=03l0WjUh4HPq2H1rlAFKLA @everyone

Cetus Announcements

@CetusProtocol · Post #69 · 14.01.2023 г., 07:19

And now, with the latest beta version, here is the tutorial on how to add liquidity on Cetus which can also participate in our LP campaign. Medium Article: https://medium.com/@CetusProtocol/tutorial-how-to-add-liquidity-on-cetus-beta-clmm-fbfc529cfce3 #Aptos#CLMM#DeFi https://twitter.com/CetusProtocol/status/1614159279191359488?s=20&t=pXosexBzqEiMmDee1Qw6FQ @everyone

Cetus Announcements

@CetusProtocol · Post #68 · 13.01.2023 г., 12:39

It's time🔥 Excited to launch our beta version, bringing you our brand new Concentrated Liquidity Pools. From today, enjoy the next-level capital efficiency on #Aptos and swap with lower slippage ✈️Add your liquidity on #Cetus now to earn faster than ever!! For more info, enter our dapp now!! https://app.cetus.zone #Cetus#CLMM#DeFi https://twitter.com/CetusProtocol/status/1613877529169002496?s=20&t=OuwTEqbMPvEgyc7jzXVkgA @everyone

Cetus Announcements

@CetusProtocol · Post #11 · 18.10.2022 г., 13:47

Aptos Mainnet has arrived! To celebrate this, we are hosting a Giveaway of 300 XP and 5 OG roles to 5 winners🔥@everyone 👉RT+tag 3 friends+Comments👀 Cetus is building the most capital-efficient #DEX and #CLMM protocol in the #AptosEcosystem. We are proud to be part of it👍 https://twitter.com/CetusProtocol/status/1582361041790717953 @everyone

Cetus Announcements

@CetusProtocol · Post #36 · 16.11.2022 г., 13:26

💥Brand new alpha version of #Cetus is NOW LIVE on #Sui Devnet!! 🫱Access our latest application via https://app.cetus.zone #DeFi#AMM#CLMM https://twitter.com/CetusProtocol/status/1592871290599542785?s=20&t=THmh2WKC7kM7X0PfXpqjEQ @everyone