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

Пребарај: #naturalgas

当前筛选 #naturalgas清除筛选
Venezuelanalysis

@venanalysis · Post #1716 · 11.08.2024 г., 21:08

PDVSA signed two agreements with a subsidiary of Nigerian company Atlas Oranto to certify offshore natural gas reserves. Caracas has touted investment opportunities in its largely untapped gas reserves in a bid to attract foreign partners. Read the report: https://venezuelanalysis.com/news/venezuelan-govt-strikes-natural-gas-deal-with-nigerian-corporation/ #Venezuela#NaturalGas#Sanctions

Venezuelanalysis

@venanalysis · Post #1933 · 10.04.2025 г., 04:46

📰 NEWS | US Nixes Venezuela-Trinidad Natural Gas Licenses as Maduro Declares Economic Emergency The Trump administration has revoked licenses that allowed Trinidad and Tobago to negotiate natural gas ventures with Venezuela. Shell and BP were also involved. At the same time, Venezuelan President Nicolás Maduro invoked emergency powers to deal with economic instability and a global trade war. Read our report: https://venezuelanalysis.com/news/us-nixes-venezuela-trinidad-natural-gas-licenses-as-maduro-declares-economic-emergency/ #Venezuela#Trinidad#NaturalGas#Sanctions

Amazing Geography 🌍

@amazingeo · Post #33 · 10.08.2025 г., 20:12

🌍 The largest natural gas field in the world, the South Pars/North Dome field, sits beneath the Persian Gulf and holds more recoverable gas than any other single spot on the planet. ✨ #naturalgas⚡#energy⚡#PersianGulf⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography🌍

Crypto M - Crypto News

@CryptoM · Post #64695 · 09.04.2026 г., 14:32

🚀 U.S. EIA Natural Gas Inventory Exceeds Expectations The U.S. Energy Information Administration (EIA) reported that natural gas inventories for the week ending April 3 reached 50 billion cubic feet. According to Jin10, this figure surpassed the anticipated 46 billion cubic feet and the previous week's level of 36 billion cubic feet. #USEIA#NaturalGas#Inventory#Energy#GasSupply#US

Crypto M - Crypto News

@CryptoM · Post #65142 · 11.04.2026 г., 11:44

🚀 Trump Highlights Incoming Oil Tankers to the U.S. On April 11, U.S. President Donald Trump announced on his Truth platform that numerous empty oil tankers, including some of the world's largest, are currently en route to the United States. According to BlockBeats, these tankers are carrying some of the highest quality oil and natural gas globally. Trump emphasized that the U.S. oil reserves surpass the combined reserves of the second and third largest oil-producing countries, both in quantity and quality. He invited attention to this development, urging prompt action. #Trump#OilTankers#USOilReserves#NaturalGas#Energy#GlobalOil#TrumpAnnouncement#USPresident#BlockBeats

Crypto M - Crypto News

@CryptoM · Post #65078 · 10.04.2026 г., 20:10

🚀 S&P: UK Economy Expected to Withstand Price Shocks from Middle East Conflict S&P Global Ratings has indicated that the stable outlook for the UK economy reflects market expectations that it will be able to withstand the impact of rising prices for oil, natural gas, and other inputs related to the Middle East conflict. According to Jin10, this assessment suggests confidence in the UK's economic resilience amid geopolitical tensions affecting commodity prices. The report highlights the importance of monitoring these developments as they could influence economic stability and growth prospects. #UKEconomy#MiddleEastConflict#OilPrices#NaturalGas#EconomicResilience#Geopolitics#EconomicStability#MarketOutlook#S&PGlobalRatings #CommodityPrices

Crypto M - Crypto News

@CryptoM · Post #64652 · 09.04.2026 г., 12:36

🚀 White House Predicts Gasoline Price Drop with Hormuz Strait Opening The White House National Economic Council Director, Kevin Hassett, has indicated that gasoline prices are expected to decrease swiftly once the Strait of Hormuz is reopened. According to Odaily, Hassett mentioned that discussions have been held with allies to ensure a stable supply of U.S. oil. Additionally, consultations regarding the purchase of oil and natural gas have been conducted with allied nations. #WhiteHouse#GasolinePrices#HormuzStrait#OilSupply#USEconomy#EnergyPolicy#NaturalGas#KevinHassett#GlobalTrade#OilMarket

Venture Village Wall 🦄

@venturevillagewall · Post #3527 · 20.12.2024 г., 09:30

Barrell Lithium Raises $1.33M Barrell Energy has completed a funding round of $1.33 million as of December 5, 2024. The company is focusing on various energy sectors, including oil, natural gas, and renewables such as solar and wind, alongside technology and carbon sequestration initiatives. This aligns with the global trend towards energy expansion and diversification. #BarrellEnergy#Funding#Energy#Renewables#Solar#Wind#BatteryStorage#CarbonSequestration#Technology#BrineMinerals#Oil#NaturalGas#EnergyExpansion#Diversification

Crypto M - Crypto News

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

🚀 U.S. March CPI Expected to Rise Amid Ongoing Iran Conflict The market widely anticipates that the U.S. Consumer Price Index (CPI) for March will increase by 3.4%, surpassing last month's 2.4%, marking the largest year-on-year rise in two years. According to Jin10, during past oil market shocks, the most likely commodities to see price hikes include aviation fuel, steel, aluminum, natural gas, fertilizers, and plastics. Industries reliant on these materials are already feeling the strain. The ongoing Iran conflict, which has lasted several weeks, has shifted concerns from the initial oil price surge to the compounded effects of a prolonged conflict. For many economists, the most alarming aspect is not the immediate issues but the "aftershocks" that may emerge months or even years later. JPMorgan's CEO has referred to inflation as a potential "fly in the ointment" that could undermine stock market returns in 2026. Harvard University professor and former IMF chief economist Ken Rogoff recently discussed an overlooked impact of the war: the increased military spending's effect on the already strained U.S. budget deficit. He noted the risk of soaring bond yields, which could harm the stock market and affect U.S. affordability. Rogoff also mentioned that the current supply disruptions caused by the Iran conflict are sufficient to keep oil prices elevated for a year. #USCPI#inflation#IranConflict#oilprices#aviationfuel#steel#aluminum#naturalgas#fertilizers#plastics#economicimpact#stockmarket#JPMorgan#budgetdeficit#militaryspending#bondyields#HarvardEconomist#supplydisruptions#USaffordability