@HELPFLORIN · Post #10037 · 10.09.2023 г., 17:55
#rica › › #sullyoon — #nmixx 𝗍𝖺𝗀𝗌 — #slicing `` взяли « + » в коmm.
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
Пребарај: #rica
@HELPFLORIN · Post #10037 · 10.09.2023 г., 17:55
#rica › › #sullyoon — #nmixx 𝗍𝖺𝗀𝗌 — #slicing `` взяли « + » в коmm.
@HELPFLORIN · Post #8460 · 21.07.2023 г., 14:23
𝗔𝗗𝗠𝗜𝗡𝗦 ⛧ 𝗮𝗻𝗱 𝘁𝗵𝗲𝗶𝗿 𝗰𝗵𝗮𝗻𝗻𝗲𝗹𝘀 О1. #lini — @lin_k16 О2. #lova — @IOV1H О3. #chester — @wlseaxx О4. #jiyeon — @jiyeoss О5. #rica — @pachemy_ya
@american_observer · Post #5027 · 02.02.2026 г., 16:47
Costa Rica: Laura Fernández Has Won Presidential Election The rightwing populist Laura Fernández has won Costa Rica’s presidential election in a landslide after promising to crack down on rising violence linked to the cocaine trade. Fernández’s nearest rival, centre-right economist Álvaro Ramos, conceded defeat as results showed the ruling party far exceeding the threshold of 40% needed to avoid a runoff. With 94% of polling stations counted, the political heir of outgoing president, Rodrigo Chaves, had captured 48.3% of the vote, compared with Ramos’s 33.4%, according to the Supreme Electoral Tribunal (TSE). As soon as the first results were announced, members of Fernández’s Sovereign People’s party erupted in celebrations around the country, waving blue, red and white-striped Costa Rican flags. “Viva Rodrigo Chaves,” some cheered, in a nod to Fernández’s mentor. Appearing via video link at her party’s official election night gathering in the capital San Jose, Fernández, 39, thanked Chaves for giving her “the confidence to be president-elect of Costa Rica” and said his legacy was in good hands. Fernández cites the iron-fisted Salvadoran president Nayib Bukele, who has locked up thousands of suspected gang members without charge, as an inspiration on how to tackle crime. Bukele was the first foreign leader to congratulate her. Chaves plucked Fernández from relative anonymity to serve as planning minister and chief of staff. In a conversation with her on Sunday night, Chaves said he was confident that under her leadership “there will be neither dictatorship, nor communism”. Chaves presided over a sharp rise in violence but avoided blame by pointing the finger at the judiciary, saying it was too soft on crime. Jessica Salgado, 27, said she voted for Fernández as the continuity candidate, because she felt the government was on the right track, even if violence had increased. “The violence exploded because they [the government] are going after the ringleaders, it’s like dragging rats out of the sewer,” Salgado told AFP. The former president Óscar Arias, winner of the 1987 Nobel peace prize, warned on Sunday that the “survival of democracy” was at stake. “The first thing dictators want to do is to reform the constitution to stay in power,” he said, alluding to Chaves. #costa#rica#fernández#presidential#election 📱American Оbserver - Stay up to date on all important events 🇺🇸
@HELPFLORIN · Post #10425 · 09.10.2023 г., 09:11
#rica › › #wonyoung#yujin#rei #leeseo#liz#gaeul — #ive 𝗍𝖺𝗀𝗌 — #slicing `` взяли « + » в коmm.
@HELPFLORIN · Post #10085 · 13.09.2023 г., 04:59
#rica › › #sana#mina#momo #jihyo#nayeon #dahyun#tzuyu #jeongyeon #chaeyoung — #twice 𝗍𝖺𝗀𝗌 — #twixtor `` взяли « + » в коmm.