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

Пребарај: #reserves

当前筛选 #reserves清除筛选
以太坊区块链新闻| ETH 以太币圈热瓜

@ethereumglobalnews · Post #1443 · 30.11.2025 г., 04:58

💡 BIG: Bitmine now holds 3.63M #ETH worth $12.7B. #Crypto#MarketWatch 📈 Bitmine 公布最新儲備報告: 目前累積 3.63M 枚 ETH(約 108.7 億美元),佔總供應量 3%。 其 EPS 同比增長 +189.13%、mNAV 為 0.84。 #以太坊#Reserves#市場趨勢#DeFi ——— ⚡️ 巨量長線吸納持續推高「協議級需求」,大型機構的增持力道或成為下一波 ETH 結構性支撐。 ✅Chat: @Web3NewsInsight 🦂 👇Tip👇讚 或點擊進行💎資源搜索👇

Venture Village Wall 🦄

@venturevillagewall · Post #4031 · 30.01.2025 г., 16:00

Czech Central Bank Eyes Bitcoin Investment Czech National Bank considers Bitcoin investment, stated Governor Aleš Michl. Proposal could diversify 5% of $146 billion reserves. Details: ForkLog #CzechRepublic#Bitcoin#Crypto#Investments#CentralBank#Finance#AlešMichl#Reserves#ForkLog

Venture Village Wall 🦄

@venturevillagewall · Post #3811 · 07.01.2025 г., 13:00

Czech Bank Considers Bitcoin Investment Aleš Michl, Governor of the Czech National Bank, suggests possible Bitcoin acquisition for diversification of foreign reserves. Board decision pending. Plans to raise gold reserves to 5% by 2028. Read more. #CzechRep#Bitcoin#Finance#Investing#Gold#Reserves#CentralBank#Diversification#Crypto#Economy

Venture Village Wall 🦄

@venturevillagewall · Post #4328 · 07.03.2025 г., 07:00

Trump Establishes Strategic Bitcoin Reserve Former President Trump has signed an order to create a strategic Bitcoin reserve in the U.S., based on approximately 200,000 BTC confiscated by the government. This reserve will serve as a savings asset, not intended for sale, acting as a digital Fort Knox. Meanwhile, analysts indicate that governments may follow the U.S. lead, reducing the likelihood of Bitcoin bans from regulators. Post-announcement, Bitcoin saw a price drop from $91,000 to $85,000 but has since recovered to $88,000. No altcoins are currently included in the reserve plans. Full details here: Reuters #Bitcoin#crypto#Trumpr#US#Blockchain#Finance#Regulation#Assets#DigitalCurrency#Investments#Savings#Market#Trading#Reserves#Government#FTX#Securities#FortKnox#Economy#PriceDrop#StrategicReserve

Venture Village Wall 🦄

@venturevillagewall · Post #4146 · 14.02.2025 г., 04:00

Bitcoin Investment Bills Could Drive $23B Matthew Sigel from Vaneck highlights that 20 U.S. states are advancing Bitcoin reserve bills, which could inject $23 billion (~247,000 BTC) into the market. Various state funds, including budget surpluses, are proposed for Bitcoin investments. Read more here. #Bitcoin#Investment#Finance#Markets#VC#Crypto#US#Legislation#Blockchain#PensionFunds#Funds#WealthManagement#BudgetSurplus#StateFunds#Reserves#Securities#Trading#Innovation#DigitalAsset#Decentralized#Ecosystem

Venture Village Wall 🦄

@venturevillagewall · Post #3825 · 09.01.2025 г., 01:00

Public Companies and El Salvador Boost Bitcoin Two U.S. companies enhance Bitcoin holdings: Thumzup Media invests $1M, shifting 90% of assets to Bitcoin and considering Bitcoin payments for workers. KULR Technology acquires $21M in Bitcoin, totaling $42M. El Salvador buys an additional 11 Bitcoin for its reserves. Meanwhile, Oklahoma proposes SB 325 to allow Bitcoin payments and seeks a payment processor by 2026. Decrypt | Oklahoma Bill #Bitcoin#ElSalvador#PublicCompanies#Investment#Crypto#Thumzup#KULR#Finance#PaymentProcessing#Legislation#Oklahoma#TaxGuidance#DigitalAssets#Reserves#StrategicReserve#Blockchain#Assets#CryptoNews#SB325#VC

Venture Village Wall 🦄

@venturevillagewall · Post #4053 · 02.02.2025 г., 19:00

Bitcoin Mirrors 2015-2018 Market Cycle 📈 A new report from *Glassnode* outlines parallels between Bitcoin's current bullish trend and the 2015-2018 market cycle. Key insights include: - Price retracements align with Fibonacci thresholds of 10.1%-23.6%. - Current capital inflows doubled, but below the previous cycle's peak. - Centralized exchanges have seen reserves drop from 3.1M BTC to 2.7M BTC. - 1.1M BTC shifted from long-term to short-term wallets during price ascent. While Bitcoin's macro trend is bullish, cautions arise about distribution phases preceding waning demand. Historical patterns suggest potential market stability ahead. Full report here #Bitcoin#MarketCycle#Crypto#Finance#Investment#BullMarket#Glassnode#Fibonacci#BTC#Trading#Economy#Reserves#ETF#InvestorBehavior#Liquidity#PriceAction#Trends#Analytics#Research#CapitalInflows#LongTermInvestors#ShortTermInvestors