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

Резултати

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

Глобално пребарување

Telegraher

@Telegraher · Post #27 · 04.01.2022 г., 16:16

2-nd release of 8.4.2 Source & APKs: https://github.com/nikitasius/Telegraher/releases/tag/noshit_8.4.2_release2 Changes: * all from 8.4.2 release 1 * fixed issue #4 (history & reactions, due reaction generate editmessage event.. TG very poorly made as is, yep) * fixed save menu buttons * disabled auto reaction on doubletap * fixed edit_hide * all official reaction are available for private messages * doesn't work in groups/channels due TG servers are using whitelists #noshit#noshit_842#release

Telegraher

@Telegraher · Post #17 · 31.12.2021 г., 12:11

1-st release of 8.4.2 Source & APKs: https://github.com/nikitasius/Telegraher/releases/tag/noshit_8.4.2_release1 Changes: * all from 8.3.1 release 2 * using codebase from Telegram 8.4.2 (the latest) * GIFs have the controls (play/stop/move on timeline) #noshit#noshit_842#release

Telegraher

@Telegraher · Post #453 · 16.06.2022 г., 06:54

Telegraher 8.7.4 release 3 Telegraher 8.74.3 😎 Source : Github / Swiss / Gitlab APKs: Swiss / Github CI/CD - arm64_v8a - armeabi_v7a - x86 - x86_64: Changes: • vanilla 8.7.4 release • all features from 8.6.2r8 moved here • custom fonts partially disabled (to remove memory usage) • accounts increased from 32 to 128 (some folks report running 53 account w/o issues) • disabled needSendDebugLog for voice calls (added in 8.7.0, idk wtf but the server could as the client to share the debug log) • our own versioning (app and code): 8.74.3 mean "release 3 which is based on tg 8.7.4", for the API purposes APP use correct vanilla values • checkbox "delete also for..." is checked by default • when admin wanna wipe his own messages, he need to click 3 times to enable checkbox "delete all from admin_nickname" (cause many folks wiped their own messages by the error in their groupchats) • new notification icons ("head" and "eyes") from @Wolfsschanze44 , in the menu you could choose between the 3 icons (head/eyes/vanilla one) • small spellerror fixes and bugfix with nonworking UI (from 8.7.4r1) • proximity sensor modes: default, disable start/stop, disable also blackscreenin. Changing the sensor mode require the app kill. • profile menu (group or contacts) now: "search", "call", "mute..", like in retro versions. #noshit#noshit_874#release

Telegraher

@Telegraher · Post #233 · 14.03.2022 г., 09:02

Telegraher 8.6.1 release 1 Source : Github / Swiss / Gitlab APKs: Swiss / Github CI/CD - arm64_v8a - armeabi_v7a - x86 - x86_64 Changes: • all from 8.5.4 release 4 • all from TG 8.6.0/8.6.1 • enable/disable link previews for non-secret chats • debug menu unlocked a bit (you can force RTMP) #noshit#noshit_861#release

Telegraher

@Telegraher · Post #134 · 04.02.2022 г., 12:54

1-st release of 8.5.1 Source & APKs : Github / Swiss Source ONLY: Gitlab Changes: • all from 8.5.0 release 1 • original bugfixes from 8.5.1 (haha, sure and many other still not fixed, blur&snow too) • delete limit raised from 100 up to 1024 messages • technically there are no limit, but IRL there are API rates on TG servers, message chunks contain 100 messages, 800 messages = 8 requests. If you abuse API tg will block some api features for 5-10 min. So raised limit just a handy thing (worked fine for 400 messages for me). #noshit#noshit_851#release

Telegraher

@Telegraher · Post #119 · 03.02.2022 г., 09:49

1-st release of 8.5.0 Source & APKs : Github / Swiss Source ONLY: Gitlab Changes: • all from 8.4.4 release 2 • fixed issue #7 • fixed issue with ffmpeg lib 301601 • blur & snow doesn't work cause TG devs are fucked it up • if you had blur/snow enabled please disable it to avoid CPU usage #noshit#noshit_850#release

Telegraher

@Telegraher · Post #5 · 27.12.2021 г., 10:51

2nd release of 8.3.1 Source & APKs: https://github.com/nikitasius/Telegraher/releases/tag/noshit_8.3.1_release2 Changes: * fixed https://github.com/nikitasius/Telegraher/issues/1 * fixed https://github.com/nikitasius/Telegraher/issues/2 #noshit#noshit_831#release

12•••5•••10•••15•••20•••25•••30•••35•••40•••45•••50•••55•••60•••646566
ПретходнаСтраница 66 од 66Следна