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

Резултати

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

Пребарај: #archaeology

当前筛选 #archaeology清除筛选
Amazing Geography 🌍

@amazingeo · Post #143 · 30.08.2025 г., 09:12

🌍 Machu Picchu in Peru was built atop a mountain ridge by the Incas around 1450. Its stone walls fit together so precisely that some areas withstand earthquakes without mortar. ✨ #heritage⚡#archaeology⚡#mountains⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography🌍 ​

Amazing Geography 🌍

@amazingeo · Post #679 · 01.04.2026 г., 20:31

🌍 Machu Picchu in Peru is a heritage site set amid mountain peaks and cloud forests. Its stone terraces and temples blend ancient Inca engineering with dramatic natural scenery. ✨ #heritage⚡#archaeology⚡#landscape⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40688 · 21.02.2026 г., 15:00

A gold coin found in 1713 in Transylvania is likely genuine. The coin shows a Roman ruler named Sponsian, who was long believed to be fictional. Tests found real ancient wear and soil deposits, suggesting he was a real leader during the 3rd-century Roman crisis. 🪙🏛️ [Read more] @googlefactss #history#ancientrome#archaeology#facts

Amazing Geography 🌍

@amazingeo · Post #485 · 30.11.2025 г., 12:31

🌍 The ancient city of Angkor in Cambodia covered more land than any other pre-industrial city, with a vast network of canals and reservoirs that shaped both its culture and the landscape for centuries. ✨ #historicalgeography⚡#archaeology⚡#settlement⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Amazing Geography 🌍

@amazingeo · Post #678 · 31.03.2026 г., 20:31

🌍 The lost city of Cahokia once stood near present-day St. Louis, with earthen mounds and a population rivaling European cities around 1100 CE—making it North America’s largest urban center before Columbus. ✨ #historicalgeography⚡#archaeology⚡#civilization⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1326 · 03.03.2026 г., 22:11

🌎 In the Nevada desert, the 2,000-year-old Lovelock Cave yielded mysterious oversized sandals, giant bones, and duck decoys. While duck decoys are confirmed as Native American artifacts, reports of giant bones and massive sandals remain unverified, fueling legends of a lost tribe. Archaeologists still debate the origins and meaning of these unusual finds. ✨ #history⚡#archaeology⚡#mystery 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1251 · 24.01.2026 г., 12:11

🌎 The disappearance of the 1,200-year-old Maya city of El Mirador remains an unsolved mystery. Once a major metropolis with vast pyramids in Guatemala, it was suddenly abandoned around 150 CE. Archaeologists have not found evidence of war, plague, or fire to explain why its tens of thousands of residents left so abruptly. ✨ #history⚡#archaeology⚡#mystery 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1225 · 15.01.2026 г., 18:11

🌎 The disappearance of the Ninth Roman Legion, Legio IX Hispana, remains one of history’s greatest unsolved mysteries. Records show the legion vanished from Roman chronicles after around 120 CE in Britain. Despite searches, no definitive evidence of its fate or mass grave has ever been found. ✨ #history⚡#mystery⚡#archaeology 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #962 · 24.10.2025 г., 22:11

🌎 The mysterious ancient city of Great Zimbabwe was built using massive stone walls without mortar, yet no written records explain how its builders achieved such precise engineering. Archaeologists estimate the complex appeared between the 11th and 15th centuries and covers over 7 square kilometers. ✨ #history⚡#archaeology⚡#mystery 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #886 · 10.10.2025 г., 12:11

🌎 In 2014, archaeologists uncovered a set of 2,000-year-old Roman lead tablets in a well in Britain. These inscribed tablets feature curses, prayers, and personal wishes, puzzling researchers with unusual languages and names not seen in surviving Roman texts. Over 130 of these "curse tablets" were recovered from the site in Bath. ✨ #archaeology⚡#mystery⚡#history 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #862 · 05.10.2025 г., 15:11

🌎 The lost city of Ubar, often called the "Atlantis of the Sands," is a legendary ancient settlement thought to be buried under Oman’s deserts. Satellite imagery and excavations in the 1990s revealed buried structures at Shisr, but no proof has confirmed Ubar’s identity or vast wealth described in Arabian lore. ✨ #history⚡#mystery⚡#archaeology 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #817 · 26.09.2025 г., 15:11

🌎 The disappearance of the English colony at Roanoke Island in the late 16th century remains unsolved. When resupply ships arrived in 1590, the settlers were gone, with "CROATOAN" carved into a post as the only clue. Archaeologists have found no definitive evidence, and the fate of over 100 people is still a mystery. ✨ #history⚡#archaeology⚡#mystery 👉subscribe Interesting Planet 👉more Channels ​

123•••1011
ПретходнаСтраница 1 од 11Следна