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

Резултати

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

Пребарај: #patents

当前筛选 #patents清除筛选
AI & Law

@ai_and_law · Post #491 · 24.01.2025 г., 08:04

🌐The Patent Boom: Generative AI on the Rise The World Intellectual Property Organization’s latest Patent Landscape Report on Generative AI sheds light on the explosive growth of GenAI-related innovations. Since 2014, over "54,000 patent families" and "75,000 scientific publications" have emerged. In 2023 alone, more than 25% of all GenAI patents globally were published, highlighting the rapid acceleration of this field. While GenAI patents still account for only "6% of all AI patents globally", their diversity is remarkable. Image and video data dominate the landscape (17,996 inventions), followed by text and speech/music applications. Industries leveraging GenAI span from life sciences to transportation, with new applications in molecule and protein-based data seeing an annual growth of 78% over the past five years. Top contributors include Tencent, IBM, Microsoft, and Samsung, with "China leading innovation globally", filing over 38,000 inventions—six times more than the U.S. As GenAI continues to drive advancements in fields like drug discovery, document management, and autonomous systems, this report serves as a critical snapshot of its transformative potential. #GenerativeAI#Patents#AIInnovation