TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #199 · 8 јан.

Многие из тех кто активно работал с Python2 несколько удивлены, почему в Python3 удобная функция reload() переехала из builtin в imp а потом и в importlib? Ну было же удобно! А теперь лишний импорт😖 Дело в том, что начиная с Python3.3 функция reload() переписана на Python вместо Cи. Что это нам даёт? 🔸 Такой код проще поддерживать и развивать 🔸 Python код легче читать, изучать и понимать. Сравните это ➡️ и это ➡️. 🔸 Как результат пункта 2, проще писать свои расширения импорта. Например, пользовательский импортёр с какой-либо хитрой логикой по аналогии с импортом из zip архивов. А есть ли у этого решения недостатки? Да, они всегда есть. 🔹 Так как это не builtin функция, её следует импортнуть перед использованием 🔹 Скорость замедлилась примерно на 5%. Очевидно, что это совершенно не критично. К тому же от версии к версии логика импорта будет оптимизироваться и ускоряться. В самом начале файла importlib/__init__.py мы видим такой импорт: import _imp # Just the builtin component, NOT the full Python module То есть часть функционала по прежнему написана на Си, но достаточно низкоуровневая. #basic

Hashtags

Резултати

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

Пребарај: #offchainlabs

当前筛选 #offchainlabs清除筛选
Venture Village Wall 🦄

@venturevillagewall · Post #4360 · 11.03.2025 г., 07:00

Offchain Labs Plans ARB Token Buy Strategy Offchain Labs is set to implement a strategic purchase plan for acquiring ARB tokens gradually. In the backdrop, Bitcoin fell under $77,000, ETH dropped to $1,750, and the crypto market faced nearly $1 billion in liquidations. The U.S. stock market also faced significant losses, with Tesla shares plunging 15% in a day, following tariff announcements by Donald Trump. The overall market cap dropped by $4 trillion since the announcements. Read more #OffchainLabs#ARB#Crypto#Bitcoin#Ethereum#Tesla#Stocks#MarketCrash#Liquidation#DAI#ETH#VC

Crypto M - Crypto News

@CryptoM · Post #65085 · 10.04.2026 г., 22:56

🚀 Offchain Labs Co-Founder Ed Felten on the Future of Layer 2s Amid Ethereum's Mainnet Scaling Offchain Labs co-founder Ed Felten expressed confidence in the continued relevance of layer 2 solutions like Arbitrum, even as Ethereum focuses on scaling its mainnet. According to NS3.AI, Felten highlighted that layer 2s can maintain their competitiveness by providing faster response times, reduced block times, and increased throughput. #OffchainLabs#EdFelten#Layer2#Ethereum#Arbitrum#Scaling#Blockchain#NS3AI#Throughput#ETH#ARB

Venture Village Wall 🦄

@venturevillagewall · Post #3599 · 20.12.2024 г., 15:25

DuckChain Raises $5M for Web3 DuckChain, a consumer layer for Web3, successfully secured $5M in funding from notable investors including dao5, Offchain Labs, Kenetic, and others. #DuckChain#Web3#Funding#dao5#OffchainLabs#Kenetic#DWFVentures#OakGroveVentures#SkylandVentures#GeekCartel#GateLabs#PrestoLabs#Camelot#Quantstamp

Venture Village Wall 🦄

@venturevillagewall · Post #3600 · 20.12.2024 г., 16:00

DuckChain Secures $5M Funding TON’s consumer layer for Web3 DuckChain has successfully raised $5 million in a funding round with participation from multiple investors including dao5, Offchain Labs, DWF Ventures, and others. #DuckChain#Web3#Funding#TON#dao5#OffchainLabs#DWF#Investors#Ventures#Kenetic#Skyland#GeekCartel#GateLabs#PrestoLabs#Camelot#Quantstamp#Blockchain#Finance#Investment#Technology