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

Резултати

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

Пребарај: #arizona

当前筛选 #arizona清除筛选
White House Watch

@WhiteHouseWatch · Post #18172 · 10.03.2026 г., 08:58

#Arizona: L'Amministrazione Trump ha emesso un mandato di sequestro per i registri elettorali dell'Arizona risalenti alle elezioni del 2020 nella Contea di Maricopa, la più popolosa dello Stato. I dati richiesti riguardano sia le informazioni elettorali della Contea sia i risultati dell'audit effettuato dal Senato dello Stato. A questo proposito, il Presidente del Senato dell'Arizona Warren Petersen (R) ha dichiarato di aver "ricevuto e ottemperato a un mandato proveniente da un grand jury relativo al controllo effettuato dal Senato dello Stato dell'Arizona" e che i documenti sono ora nelle mani dell'FBI. Il mandato, invece, non è ancora arrivato agli uffici della Contea. Si tratta della seconda Contea a cui vengono richiesti i dati elettorali risalenti alle elezioni presidenziali del 2020. La prima, quella di Fulton, aveva visto anche l'intervento della Direttrice dell'Intelligence Nazionale Tulsi Gabbard, presente al momento della perquisizione. Le due Contee, inoltre, condividono la caratteristica di essere al centro delle teorie del complotto circa presunte frodi elettorali a favore di Joe Biden. Riguardo a tali accuse, così come su molte altre riguardanti la vittoria di Biden nel 2020, non sono mai state rinvenute prove di frodi sostanziali capaci di ribaltare gli esiti elettorali. Si tratta anche di un'escalation da parte dell’Amministrazione, che riapre le indagini sul 2020 nel tentativo di influenzare la gestione di tutte le elezioni successive.

Hashtags

White House Watch

@Whitehousewatch · Post #17343 · 27.01.2026 г., 18:46

#Arizona: Vi sarebbe un’altra persona ferita dalla Border Patrol, questa volta in Arizona. L’individuo sarebbe in gravi condizioni. Al momento non siamo a conoscenza di ulteriori dettagli.

Hashtags

Newt Gingrich

@newtgingrich · Post #3869 · 25.11.2022 г., 02:43

#newtgingrich : RT @EpochTimes: “It’s amazing to me what a big mess this is,” Gingrich said. #Arizona gubernatorial candidate @KariLake deserves to see an “honest count” after nearly a dozen GOP attorneys described widespread election day problems in #MaricopaCounty, said @NewtGingrich. https://t.co/RZ5sItfMUS

Crypto M - Crypto News

@CryptoM · Post #64689 · 09.04.2026 г., 14:08

🚀 DOJ and CFTC Seek to Block Arizona's Action Against Kalshi The U.S. Department of Justice (DOJ) and the Commodity Futures Trading Commission (CFTC) have filed a motion in federal court to halt Arizona's criminal and civil enforcement actions against Kalshi. According to NS3.AI, the agencies contend that event contracts regulated by the CFTC are beyond the jurisdiction of state authorities and are governed by federal commodity law. #DOJ#CFTC#Kalshi#Arizona#eventcontracts#commoditylaw#federalcourt#statejurisdiction

Venture Village Wall 🦄

@venturevillagewall · Post #4006 · 28.01.2025 г., 07:00

New Auction Insights Boost Marketplaces Key to marketplace success: increase buyer-seller transactions. Traditional property listings stagnate; auctions may revitalize them. One startup captured 20% market share in 3 months with a unique auction mechanic. This strategy could apply across various sectors. Read more: fastfounder.ru KuCoin founders admit to accusations of unlicensed money transfer, resulting in a $297 million penalty. Founders banned from leadership roles. Arizona Senate passes Strategic Bitcoin Reserve Act, allowing investment of up to 10% of public funds in cryptocurrencies like Bitcoin. Bill moves to Senate Rules Committee for further approval. cryptobriefing.com Ethereum spot ETF faces outflows of $136 million on Jan 27; current net asset value: $11.30 billion. sosovalue.com Ledger co-founder kidnapped for €10 million ransom, rescued by police after disturbing threats. Part of the ransom has been tracked. straitstimes.com #Marketplace#Auction#RealEstate#Bitcoin#Crypto#KuCoin#Ethereum#ETF#Ransom#Ledger#France#Investment#Arizona#Blockchain#Finance#Assets#Trading#Innovation#Tech#VC

Crypto M - Crypto News

@CryptoM · Post #65088 · 10.04.2026 г., 23:40

🚀 Federal Judge Halts Arizona's Arraignment of Kalshi Over Prediction Market Contracts A federal judge has issued a temporary restraining order preventing Arizona from proceeding with the arraignment of Kalshi on 20 criminal charges related to its prediction market contracts. According to NS3.AI, District Judge Michael Liburdi ruled that Arizona cannot conduct Kalshi's arraignment scheduled for Monday, April 13. The order prohibits Arizona from applying its gambling laws to contracts listed on designated contract markets regulated by the Commodity Futures Trading Commission (CFTC). The CFTC, which has filed a lawsuit against Arizona and two other states, contends that these event contracts are considered swaps under federal oversight. #FederalJudge#Arizona#Kalshi#PredictionMarket#Contracts#TemporaryRestrainingOrder#GamblingLaws#CommodityFuturesTradingCommission#CFTC#Lawsuit#Swaps

Venture Village Wall 🦄

@venturevillagewall · Post #4100 · 08.02.2025 г., 16:00

U.S. States Embrace Bitcoin Reserves A surge in U.S. states pursuing legislation for strategic bitcoin reserves highlights increasing institutional interest in cryptocurrency. 15 states, including Alabama, Arizona, Florida, and Texas, are taking steps to incorporate bitcoin into financial strategies, aimed at attracting businesses and enhancing economic stability. The federal conversation on a national reserve is beginning, as states like Arizona and Utah are closest to legislative success. This movement reflects a broader trend recognizing bitcoin's potential as a financial tool. #Bitcoin#Crypto#Finance#Legislation#Investment#Blockchain#Arizona#Texas#Alabama#EconomicStability#PublicFunds#DigitalAssets#Utah#Kentucky#InstitutionalInterest#VC#SBR#MarketTrends#FinancialInnovation

Crypto M - Crypto News

@CryptoM · Post #64533 · 09.04.2026 г., 06:35

🚀 Federal Agencies Challenge Arizona's Gambling Laws Against Kalshi The Commodity Futures Trading Commission (CFTC) and the Department of Justice have requested a federal court to prevent Arizona from applying its gambling laws to Kalshi. According to NS3.AI, the agencies argue that contracts related to sports and elections are federally regulated swaps. Arizona has initiated criminal charges against Kalshi, with an arraignment set for April 13. Should the courts agree with the federal perspective, prediction markets could potentially function across the United States under a unified federal framework, rather than being subject to individual state gambling regulations. #FederalAgencies#Arizona#GamblingLaws#Kalshi#CFTC#DepartmentOfJustice#FederalCourt#SportsContracts#ElectionContracts#PredictionMarkets#FederalRegulation#StateGamblingRegulations