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

Резултати

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

Пребарај: #newcourse

当前筛选 #newcourse清除筛选
Andijan Development Center

@adceducate · Post #8453 · 09.04.2024 г., 12:58

🎤 Great news! 🌟 We are excited to announce the launch of our new public speaking course at ADC! 🏫 If you want to overcome the fear of public speaking, improve your presentation skills, or simply become a more effective communicator, our course is designed for you. With experienced instructors, a supportive environment, and a program focused on real-life success, we are here to help you find your voice and make an impact. 👩‍🏫👨‍🏫 Join us on a journey of development, confidence, and empowerment. Classes are starting soon, and spaces are limited, so book your spot today! ☎️For more details: 74 2261078 74 2281121 74 2281666 74 2276163 74 2252536 #PublicSpeaking#FindYourVoice#Empowerment#CommunicationSkills#Education#NewCourse#JoinUs

PRICE ACTION EXPERT

@priceactionexpert · Post #8031 · 25.01.2025 г., 11:43

https://x.com/priceactiongann/status/1870116486494466125 #nifty50#nifty#gold#xauusd New Course: "Price Calculus" - Master the Art of Market Analysis Comprehensive Learning Path: 1. Patterns: Dive into the most critical and frequently used patterns in trading. 2. Market Dynamics: Understand the branches of price calculus and their application under various market conditions. 3. Structural Analysis: Learn how patterns and structures dictate price movements. Top-Down Analysis: 1. Chart Mastery: Detailed analysis from higher to lower time frames. 2. Market Characteristics: Essential knowledge for long-term survival in trading. Gann Techniques: 1. Gann Square Utilization: Learn the intricacies of Gann Square and its application in charting. 2. Square Relationships: Explore the relation between multiple squares and their impact on price. 3. Square Numbers : Practical use of square numbers and the Square of 9. Integrated Approach: 1. Correlation of Concepts: How Gann's concepts integrate with price patterns to form a cohesive analysis method. 2. Mastery of Price Calculus: Combine all elements into a complete methodology for mastering price movements. Contact in Telegram and X alone: Available by the end of January or first week of 2025. Give your maximum support thanks 🙏❤️🙏 #banknifty#stockmarket#stocks#gann#trading#priceaction #newcourse#course#astrology#financialastrology#numerology

PRICE ACTION EXPERT

@priceactionexpert · Post #7958 · 20.12.2024 г., 14:38

https://x.com/priceactiongann/status/1870116486494466125 #nifty50#nifty#gold#xauusd New Course: "Price Calculus" - Master the Art of Market Analysis Comprehensive Learning Path: 1. Patterns: Dive into the most critical and frequently used patterns in trading. 2. Market Dynamics: Understand the branches of price calculus and their application under various market conditions. 3. Structural Analysis: Learn how patterns and structures dictate price movements. Top-Down Analysis: 1. Chart Mastery: Detailed analysis from higher to lower time frames. 2. Market Characteristics: Essential knowledge for long-term survival in trading. Gann Techniques: 1. Gann Square Utilization: Learn the intricacies of Gann Square and its application in charting. 2. Square Relationships: Explore the relation between multiple squares and their impact on price. 3. Square Numbers : Practical use of square numbers and the Square of 9. Integrated Approach: 1. Correlation of Concepts: How Gann's concepts integrate with price patterns to form a cohesive analysis method. 2. Mastery of Price Calculus: Combine all elements into a complete methodology for mastering price movements. Contact in Telegram and X alone: Available by the end of January or first week of 2025. Give your maximum support thanks 🙏❤️🙏 #banknifty#stockmarket#stocks#gann#trading#priceaction #newcourse#course#astrology#financialastrology#numerology