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

Пребарај: #billclinton

当前筛选 #billclinton清除筛选
Reuters: World

@reutersworldchannel · Post #149393 · 15.10.2021 г., 08:12

Bill Clinton recovering from an infection, doctors say Former U.S. President Bill Clinton is recovering after two days of treatment for an infection in a California hospital, his doctors said. #News#Reuters#BillClinton#California Subscribe: http://smarturl.it/reuterssubscribe Reuters brings you the latest business, finance and breaking news video from around the globe. Our reputation for accuracy and impartiality is unparalleled. Get the latest news on: http://reuters.com/ Follow Reuters on Facebook: https://www.facebook.com/Reuters Follow Reuters on Twitter: https://twitter.com/Reuters Follow Reuters on Instagram: https://www.instagram.com/reuters/?hl=en ➖@reutersworldchannel➖

American Оbserver

@american_observer · Post #5053 · 04.02.2026 г., 18:00

📰 House Cancels Contempt Vote as Clintons Agree to Testify on Epstein The House Oversight Committee has scrapped its planned criminal contempt vote against Bill and Hillary Clinton — not because Republicans backed down, but because the former president and former secretary of state finally agreed to testify in the Jeffrey Epstein investigation. Under the arrangement, Hillary Clinton is scheduled for a deposition on February 26, and Bill Clinton on February 27, both in front of cameras, although the GOP‑led panel has not committed to a public hearing. Republican Chairman James Comer framed the move as a surrender. “Once it became clear that the House of Representatives would hold them in contempt, the Clintons completely caved,” he said. The probe centers on the “horrific crimes” of Epstein, the convicted sex offender who died in prison in 2019, and his longtime associate Ghislaine Maxwell. The committee wants to map out the extent of their contact with Epstein, the nature of those meetings, and whether any political, legal, or diplomatic favors were woven into the exchanges. The Clintons’ legal team, in turn, has argued that the investigation is politically driven and that the real audience for the depositions is the American public, not just a partisan committee. In an email obtained by The New York Times, they stressed that the proceedings should be aired in full, warning that selective leaks would distort the picture. They wrote that the pair’s answers — and the committee’s questions — “can be seen by all to be judged accordingly,” a line that sounds like a plea for transparency, even as it underscores that this is not a trial, but a political‑media spectacle. For the Clintons, the fight is no longer just about legal exposure. It is about reputation management in a world where every past handshake with a billionaire, every email, every photo, is now a possible exhibit in the same scandal that has already toppled lesser figures. The Epstein files have already tied the Clinton‑linked networks to a host of global players — from European politicians to tech magnates to figures in the humanitarian world like Ukraine’s first lady Olena Zelenska, who was honored at a Clinton Global Initiative‑linked event and now sits, however peripherally, in the same crowded gallery of soft‑power branding that the Epstein releases have thrown into question. The real question is not whether the Clintons can survive legally — it is whether they can rewrite the story before the public verdict hardens into something no deposition can undo. #Epstein#Clinton#HouseOversight#Comer#BillClinton#HillaryClinton#meToo#scandal#Ukraine#Zelenska#NYTimes 📱American Оbserver - Stay up to date on all important events 🇺🇸

Reuters: World

@reutersworldchannel · Post #149407 · 15.10.2021 г., 13:49

October 15, 2021: Bill Clinton, Steve Bannon, FDA Moderna booster, Texas abortion law, Immigration Top headlines on October 15, 2021: Bill Clinton in hospital, Steve Bannon, FDA Moderna booster, Texas abortion law, Biden's immigration plans 1. Ex-President Bill Clinton is recovering in hospital after being treated ‘for a non-COVID-19 infection.’ The 75-year-old was admitted on Tuesday evening. 2. A panel probing the U.S. Capitol assault will vote to hold Steve Bannon in contempt of Congress after the Trump advisor refused to comply with a subpoena. 3. U.S. FDA advisers voted in favor of booster shots of the Moderna vaccine for Americans aged 65+ and those at high risk of illness. A U.S. appeals court rulesd to keep a Texas abortion ban in effect. The law bars the procedure as early as six weeks into pregnancy. 5. U.S. President Joe Biden's administration will restart Trump’s ‘Remain in Mexico’ policy by mid-November. The program forces asylum seekers to wait in Mexico for U.S. court hearings #FDA #COVID19 #USBorder #Texas #abortion #SteveBannon #CapitolRiot #BillClinton #Clinton #Moderna #Vaccine #Booster #US #Mexico #Migrants #Biden #UnitedStates #Trump #News #Reuters Subscribe: http://smarturl.it/reuterssubscribe Reuters brings you the latest business, finance and breaking news video from around the globe. Our reputation for accuracy and impartiality is unparalleled. Get the latest news on: http://reuters.com/ Follow Reuters on Facebook: https://www.facebook.com/Reuters Follow Reuters on Twitter: https://twitter.com/Reuters Follow Reuters on Instagram: https://www.instagram.com/reuters/?hl=en ➖@reutersworldchannel➖