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

Резултати

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

Пребарај: #petition

当前筛选 #petition清除筛选
Nothing Phone (2) | Updates

@NothingPhone2Updates · Post #475 · 22.11.2024 г., 06:31

Google's Play Integrity policy is making it harder to use custom ROMs. If you can't access banking apps or payments, it's time to take action! 🔑 What is a Keybox? When using a custom ROM, some apps won’t work due to security checks (Strong Integrity). A keybox acts as a fake certificate to trick apps into thinking your phone is unmodified, allowing apps like banking apps to work. Modules like TrickyStore can be used along with keyboxes to bypass these restrictions. However, keyboxes are being abused in certain ways: - Shared publicly or checked via bots, leading to revocations. - Scammers sell fake or leaked keyboxes. - Genuine users who need keyboxes for essential apps are losing access. ❗️Precautions: - Don't use keyboxes for flexing unless your important work apps really need it. Stick with Device Integrity, it makes no difference. - Avoid sharing them publicly or checking them via keybox checker bots in telegram. These get forwarded to the hosters in some cases! - Stop checking for Integrity via multiple apps / playstore repeatedly. You should not bother until your apps stop working. - Use alternative apps when possible. Please do remember that any keybox made public or being used in bulk would trigger the failsafe and Goolag would eventually ban it! 🚨✍️Sign the Petition✍️🚨: https://www.change.org/p/stop-google-from-limiting-custom-roms @alph4 is working to take legal action against Google through Antitrust and consumer protection agencies in the European Union over the issue of Google Play Integrity! "We ask Google to change its Play Integrity implementation, allowing Custom ROMs to pass Play Integrity so the users can enjoy their device's capabilities fully" ✅ To-Do List: • Sign and verify your signature via email auth. • Share how experience regarding how Play Integrity affects your custom ROM experience with respect to apps. • Spread the word to friends and other groups. Forwarding this post can also help. Thanks for your attention and support! A community post made on behalf of @Nothing_Archive & @Crosscrew Federation #Keybox#PlayIntegrity#Petition#StrongIntegrity#CustomROM#AndroidFreedom#DigitalRights

香港人的蘋果

@Appledailyhk26 · Post #55739 · 11.10.2023 г., 20:19

🔥🔥告急!10月15日就截止啦!尚餘不足一星期! https://petitions.ourcommons.ca/en/Petition/Details?Petition=e-4534 Source: @vssdm_@vanactivistshk 抗擊中共滲透,捍衛加拿大民主及主權!💪🏻 再一次呼籲大家簽署 #海外代理人登記法案 請簽名支持聯邦政府通過外國代理人法案 遏止極權政府滲透和干預加拿大主權! * 尚欠1400簽名才能達標! * 未簽的盡快上網簽名!已簽的,請1拖10積極找親友、網友簽名! 合資格簽名人士:只要你在加拿大居住 * 學生 * 工簽 * 難民 * 等候移民 * 永久居民 * 在加拿大擁有住址的海外公民 #Canada#Petition#聯署#SayNoToCCP#BoycottChina#中共滲透#共諜

港島西。Channel

@islandwest84 · Post #39893 · 05.03.2023 г., 13:54

聯署要求取消邀請,支持打壓人權演員甄子丹,擔任奧斯卡金像獎頒獎嘉賓 Cancel inviting Donnie Yen who supports human rights abuses as a presenter for the Oscars. 請簽署支持及轉發 https://chng.it/YFPf7mVwdT Donnie Yen is a supporter of the Chinese Communist regime and has made several remarks in support of the Chinese government's policies, including supporting the implementation of the National Security Law in Hong Kong and accusing Hong Kong protesters of being rioters. These remarks not only violate the spirit of freedom of speech but also deny the rights of the people of Hong Kong to fight for their freedom and democracy. We demand that the Oscars Committee reconsider this decision and cancel the invitation of Donnie Yen as a presenter for the Oscars. Let us work together to uphold human rights and moral values, and make the Oscars a truly respectful award. #OscarAwards#聯署#petition#甄子丹#媚共偽人#殺神4#反送中運動#反修例#沒有暴徒只有暴政

Hong Kong Democracy Movement

@hkdmovement · Post #7433 · 28.05.2024 г., 12:24

請大家支持全球聯署! 召集30萬人關注香港政治犯,呼籲所有民主政府向中國香港政府施壓,停止以法律侵害民主自由。 Call 300,000 people to pay attention to Hong Kong political prisoners, call on all democratic governments to put pressure on the Hong Kong government of China, and stop using the law to infringe on democratic freedoms. #聯署#Petition 聯署連結: https://chng.it/fbHngk2gs4 Facebook 活動頁 fb.com/events/1636456453850005 #政治犯#47人案#民主派初選#國安法#未審先判#欲加之罪#冤獄#莫須有#初選無罪#釋放政治犯