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

Резултати

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

Пребарај: #ieltsprep

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

@adceducate · Post #8208 · 17.02.2024 г., 11:51

We recently hosted a mock IELTS test at our educational center, offering participants a true-to-life exam experience. 📚✍️ The event meticulously recreated the conditions of the actual test, helping attendees familiarize themselves with the IELTS format and timing. ⏳ Participants had the chance to practice their English under timed conditions, assessing their readiness for the real exam. 🇬🇧🕒 Feedback from attendees was overwhelmingly positive, appreciating the opportunity to simulate the test day in a supportive and structured setting. 👏💼#IELTSPrep#MockTest#EnglishPractice

Erkinov Otabek || IELTS

@cambridgeieltsbooks · Post #4424 · 21.04.2024 г., 14:10

✅Listening Time 😎High Frequency Words in IELTS Listening🎧 Knowing what kind of vocabulary to expect in IELTS listening can greatly improve your performance in the actual exam. Come to @cambridgeIELTSbooks and see if you know the meaning of all 378 high frequency words. #listening#IELTSprep ♡ ㅤ ❍ㅤ ⎙ㅤ ⌲ ˡᶦᵏᵉ ᶜᵒᵐᵐᵉⁿᵗ ˢᵃᵛᵉ ˢʰᵃʳᵉ ━━━━━━━━━━━━━ ❤️Sharing is caring❤ ©️Channel:@cambridgeieltsbooks

Erkinov Otabek || IELTS

@cambridgeieltsbooks · Post #3324 · 21.09.2023 г., 08:01

✅ Useful 🤓Identifying Opinion Indicators 💠 Giving personal opinions In my opinion,… I think… I believe… I’d say… I personally feel that… In my point of view,… From my way of thinking… In my mind… 💠 Asking for opinions What do you think about…? How do you feel about…? What are your views on…? Do you think…? Don’t you think…? 💠 Agreeing Yes. You’re right. I suppose you’re right. I (completely) agree. I couldn’t agree more. Exactly. Definitely. Absolutely. 💠 Disagreeing Yes, but… I’m afraid I don’t really agree. I can’t say that I agree. I (completely) disagree. I don’t think so. I doubt it. I wouldn’t say that. Not really. 💠 Expressing reservation Yes, but the problem is… I’m not so sure if… But there’s one problem… I’m a little worried about… #IELTSprep#writing#speaking 🤓Kanalga qo'shiling 👇 ♻️@cambridgeIELTSbooks YouTube|Instagram|Telegram

Erkinov Otabek || IELTS

@cambridgeieltsbooks · Post #3206 · 10.09.2023 г., 02:18

#writing#IELTSprep#task1 ✅ Essay corrections ⁉️IELTS writing siz uchun muhimmi? Uni yaxshilash uchun nima qilish kerak deb o'ylaysiz? ✅ Eng yaxshi yechim, insholaringizni tekshirtirish orqali xatolar ustida ishlashdir. Siz ham shu fikrga qo'shilasizmi? 🤝Biz sizga bir nechta insho tahlilini ulashyapmiz. Siz ham do'stingizga ilining! ♻️Channel: @cambridgeIELTSbooks

Erkinov Otabek || IELTS

@cambridgeieltsbooks · Post #4105 · 23.03.2024 г., 00:59

✅Writing Time 📝Writing task 2 insho savoli o'z ichida 3 qismga boʻlinadi va ular introduction(kirish) qismida quyidagicha o'zgartirilishi kerak. 🍇Background statement (umumiy insho mavzusi) 🍎Specific statement (aniq talab etilayotgan insho mavzusi) 🍓Question (insho savoli) ‼️Ana endi keling, insho kirish qismini qismma-qism yozib chiqaylik. 🍇 When a country develops its technology, traditional skills and ways of life die out.🔁With the development of technology, a nation loses its traditional skills and way of life. 🍎 It is pointless to try and keep them alive. 🔁Many believe that these become irrelevant and there is no use trying to maintain them. 🍓To what extent do you agree or disagree with this? 🔁I completely disagree, however, and will explain why I believe keeping a nation's traditional skills and lifestyle is important, despite the rise of new technologies. If you find it useful, don't forget to share with your friends ☺️ #writing#task2#IELTSprep ❤️Sharing is caring❤ ©️Channel:@cambridgeieltsbooks

12
ПретходнаСтраница 1 од 2Следна