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

Пребарај: #myth

当前筛选 #myth清除筛选
Sayohatnoma: Bagajsiz!

@bagajsiz · Post #73 · 28.01.2025 г., 23:03

#myth Chetga chiqsang, ba’zi stereotiplar parchalanadi deydiku. Ha afsus koʻpchiligi haqiqat boʻlib chiqadi. Masalan, Uzbekistanni Pakistan deb oʻylash. Bu mif emas, men bilan bir necha marta boʻldi. Nafaqat studentlar, balki teacher koʻpchiligi bilmaydiyam bizni mavjudligimizni.

Hashtags

On dragons The dragon Smej Gorynytsch was terrorizing the region around Kiev during the 11th century. The hero Dobrynja vanquished the dragon ultimately. This story follows the same pattern as Zeus defeating Typhon or Perun destroying Veles. #dragon#myth @EuropeanTribalism

Hashtags

Doniyor Olimjonov English | IELTS

@doniyorieltss · Post #451 · 08.01.2023 г., 05:58

#StudentsQuestionsAnswered#myth Let's debunk one common myth surrounding the word count in IELTS Writing: writing more / fewer words than necessary will lower your score. In the past, there was a fixed penalty for writing fewer words than required, as per instructions. But IELTS abolished that as of 2018, and you will not lose marks for being under word. It is also evident that there is no such thing as an upper limit in IELTS Writing. However, there is still a debate over whether or not going way over the recommended number affects your score. Now, does writing 200-220 words for Task 2 universally mean you will lose marks? NO! It's not the number of words that would lower your score, it is what is associated with it: main ideas that lack development. Clearly, your main ideas need to be developed sufficiently, warranting relevant reason(s), explanation(s), and example(s). This means that you would need at least 5 sentences to write a decent body paragraph, which would probably contain 10-20 words each — if you do the math, you would need to write at least 250 words no matter what! This goes to show that if you were to actually write fewer words than required, your ideas would be left under-developed (Task Response: Band 5-6 as per the band descriptors), which means that it's not being underlength per se that would impact your score — it is its result that does so. However, it's also a matter of the task at hand — whether or not it calls for a lot of words. There are certain questions that you could fully respond to with only 250-270 words, while there are also some that require far more words than necessary, say 500 words. In this case, it is perfectly fine to produce what you might assume is an overly long essay, as slashing this word count could compromise your TR score — you would not be able to fully cover the topic. So think twice before you pounce on my 400-word long essays. There is also an issue of 'redundancy' — writing too many words than necessary language-wise — that ticks off many IELTS Instructors such as myself. I check dozens of essays every week only to find out that most of the words and sentences in them are simply unnecessary. In an attempt to impress the reader, students go out their way to use seemingly high-level words/phrases such as 'due to the fact that' instead of a simple 'because'. I completely disapprove of this practice and argue that efficiency and communication should be prioritized in any type of writing — you should treat your words as if you treat your money. Thus, especially at lower levels (Band 5-6), candidates are highly recommended to keep the word count hovering at 250-300 words. Finally, let me also shed some light on Task 1, which is the part of Writing that doesn't receive the level of attention it deserves. When summarizing a chart/diagram, it is important to understand that there are usually a lot of key features you need to highlight and report. If you want to pull off Task 1, you should cover all those key features fully and clearly (Task Achievement: Band 8). Missing even one of such features would set you up for failure: Task Achievement: Band 4. As such, you might want to care less about how many words you need to write and more about what actually matters. I, for one, never think about the number of words when writing something; I focus on the message — so should you! @ieltsulugbeks

Aesthetica

@Aetatesolis · Post #4109 · 27.03.2025 г., 09:26

🎬 "Cinema is one of the last remaining places that transports us from the realm of the mundane into the numinous." John Bucher Mythblast 2025 #josephcampbell #cinema #myth AETATESOLIS

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