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

Резултати

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

Пребарај: #albania

当前筛选 #albania清除筛选
Libertà è ragione

@libertaeragione · Post #3894 · 21.07.2023 г., 12:32

#Albania Il Parlamento albanese ha approvato una proposta di legge per legalizzare l’uso della cannabis a scopo terapeutico ed industriale. L’obiettivo è quello di incrementare le entrate fiscali dello Stato. @OsservatorioEsteri

Hashtags

Papa & Vaticano - News

@papaevaticanonews · Post #9232 · 05.02.2026 г., 12:10

Questa mattina Papa #LeoneXIV ha ricevuto in udienza Edi Rama, Primo Ministro della Repubblica d’#Albania, il quale ha successivamente incontrato il Cardinale Pietro Parolin, Segretario di Stato di Sua Santità, accompagnato da mons. Paul Richard Gallagher, Segretario per i Rapporti con gli Stati e le Organizzazioni Internazionali. "Nei cordiali colloqui in Segreteria di Stato - fa sapere la Sala Stampa vaticana in una nota - si sono rilevati i buoni rapporti esistenti tra la Santa Sede e la Repubblica d’Albania e sono stati affrontati temi di comune interesse attinenti alle relazioni tra la comunità ecclesiale e quella civile. Nel prosieguo della conversazione, ci si è soffermati pure sulle principali questioni regionali, tra cui la situazione nei Paesi dei Balcani occidentali ed il cammino dell’Albania verso la piena integrazione nell’Unione Europea".

RTDocumentary

@rtdocumentary · Post #678 · 29.04.2022 г., 15:59

#video#Albania We are sharing the moving story of one of Albania’s heroines. Lali was a beautiful girl who changed genders to become her family’s male protector, according to ancient Albanian tradition. She took a vow to be a burrnesha or sworn virgin. Check out our video to meet this extraordinary person. Find out more about the ancient tradition in the film The Virgins. Follow: https://t.me/rtdocumentary

RTDocumentary

@rtdocumentary · Post #597 · 10.04.2022 г., 10:35

#video#Albania Bedri Gosteroni, 65, was born female, but she had to take on a man’s role after her brother’s death. As a result, she became a burrnesha or a sworn virgin. The word ‘burrnesha’ translates as ‘he-she’. It’s a centuries-old tradition in northern Albania from the medieval canon of laws known as the Kanun. When the male heirs of a family died or were killed, a daughter could assume the role of patriarch by taking a vow of celibacy. So Burrnesha dress and live as men. They are very rare these days, and most people, even in Tirana, have never heard of them. Take a journey across the mountains of Albania in search of burrneshas in the documentary, The Virgins. Follow: https://t.me/rtdocumentary

Tutto Elezioni

@tuttoelezioni · Post #939 · 11.05.2025 г., 08:32

#Albania🇦🇱 #Parlamentari ❓Come si vota in Albania? Il sistema elettorale per l'elezione dell'Assemblea (Kuvendi) è di tipo proporzionale di lista, basato su divisore. I 140 seggi sono allocati con il metodo D'Hondt ed è presente una soglia di sbarramento dell'1%. Le liste sono semi-chiuse: la maggioranza dei seggi viene assegnata sulla base di liste bloccate, ma una parte può essere assegnata tramite voto di preferenza. I seggi sono divisi su più circoscrizioni elettorali, che corrispondono alle prefetture; il numero dei seggi tra le circoscrizioni varia in base alla grandezza demografica. @TuttoElezioni

RTDocumentary

@rtdocumentary · Post #71 · 22.06.2021 г., 14:02

Why did Albanian women have to pretend to be men? #photo#Albania Diana looks like an old man in a military beret, but she’s a burrnesha. That’s what they call Albania’s last sworn virgins, who made an oath of celibacy in exchange for leading the life of a man. Diana’s brother died, so she took his place. Diana was a tomboy and had always stood up for her female neighbours. Albanian women invariably became burrneshas through social necessity, not because they were transgender or gay. Some burrneshas agreed to live as men because their families had lost a patriarch. Others chose the path because it was just easier to live as men, who could own property, move freely, work, drink and smoke. Happily, these days, Albanian women don’t have to become burrneshas to enjoy these freedoms. So the custom is all but dying out. Follow: https://t.me/rtdocumentary

POPULAR FRONT

@popularxfront · Post #5503 · 18.03.2026 г., 20:31

🇷🇸#Serbia – 🇦🇱#Albania: Footage has emerged showing Serbian paratroopers and helicopters being deployed over the Preševo Valley, near the border with Kosovo, as part of ongoing military exercises. Authorities in Albania have issued a statement describing the drills as “dangerous” and “provocative,” claiming they may be intended to intimidate the Albanian-majority population in southern Serbia, particularly in areas close to the Kosovo border. The region was previously affected by an insurgency that lasted for approximately two years between the Federal Republic of Yugoslavia and ethnic Albanian separatist groups from 1999 to 2001. Outbursts of violence reportedly continued between 2002 and 2014, including targeted attacks on police using grenades and mortars, as well as bombings of schools, amid tensions between ethnic Serb and Albanian communities. (📹@balkanspectator & @admirim on X)

Communia

@communia · Post #37514 · 07.11.2023 г., 08:05

#Migraciones. Acuerdo entre #Italia y #Albania para que Albania externalice la gestión de refugiados que piden asilo o intentan llegar a la #UE https://www.euractiv.com/section/politics/news/italy-albania-migration-deal-divides-both-sides-of-adriatic-caution-from-eu/

Ultimora.net - POLITICS

@ultimoraPOLITICS · Post #39854 · 04.06.2022 г., 18:09

#Albania L'attuale Capo di Stato Maggiore Generale Bajram #Begaj è stato eletto come Presidente dell'Albania con 78 voti a favore, 4 contrari e 1 astensione. Tutta l'opposizione tranne #LSI|Centro-sinistra (che ha votato contro) ha boicottato la votazione, sostenendo che il processo di scelta è stato irregolare. Begaj giurerà ed entra in carica il 24 luglio. @UltimoraPolitics24

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