@fight4f · Post #8468 · 18.06.2024 г., 05:25
人類研究幾千年來 大部份人也是基因混血 國家/國籍 = 與基因血緣沒有關係 基因= 大部份人的基因也沒有100%純正 歷代祖先 = 很多今天的國家,在古代也不存在, 所以不要亂說自己祖先是那國及那種人。 膚色 = 人種頂多能分 : 黑人 白人 黄人 及中亞人 , 再細分也是一樣, 某國那國也只是國籍政治及文化圈劃分( 基因也是不純的) #Human
Hashtags
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
Пребарај: #human
@fight4f · Post #8468 · 18.06.2024 г., 05:25
人類研究幾千年來 大部份人也是基因混血 國家/國籍 = 與基因血緣沒有關係 基因= 大部份人的基因也沒有100%純正 歷代祖先 = 很多今天的國家,在古代也不存在, 所以不要亂說自己祖先是那國及那種人。 膚色 = 人種頂多能分 : 黑人 白人 黄人 及中亞人 , 再細分也是一樣, 某國那國也只是國籍政治及文化圈劃分( 基因也是不純的) #Human
Hashtags
@everything_science · Post #3469 · 22.05.2025 г., 20:53
Deep voiced men tend to have a lower concentration of sperm in their ejaculation than men with higher pitched voices. #Human 🔔@Everything_Science
Hashtags
@everything_science · Post #3445 · 10.05.2025 г., 08:15
man from New Zealand named Nigel Richards won the French Scrabble championship without actually speaking French. #Human 🔔@Everything_Science
Hashtags
@everything_science · Post #3441 · 07.05.2025 г., 17:01
Former billionaire Chuck Feeney has given away over 99% of his $8 billion to help underprivileged kids go to college. By the time of his passing in October 2023, he was worth less than $2 million. #Human 🔔@Everything_Science
Hashtags
@everything_science · Post #3436 · 05.05.2025 г., 17:23
Steve Harvey sent a TV every year to the teacher who said he would never be on television. #Human 🔔@Everything_Science
Hashtags
@everything_science · Post #3433 · 04.05.2025 г., 06:38
This woman donated a kidney to her boss and then got fired for taking extended time to recover from the surgery. #Human 🔔@Everything_Science
Hashtags
@everything_science · Post #3430 · 02.05.2025 г., 10:00
When Messi heard a boy had been wearing his jersey made from a plastic bag, he sent the boy a real one signed by him. #Human 🔔@Everything_Science
Hashtags
@everything_science · Post #3422 · 30.04.2025 г., 05:18
A German man created a traffic jam on an empty street in Google Maps by wheeling around 99 smartphones. #Human 🔔@Everything_Science
Hashtags
@everything_science · Post #3407 · 22.04.2025 г., 16:51
Japanese man earns $80,000 per year by renting himself out as a friend to lonely people. #Human 🔔@Everything_Science
Hashtags
@everything_science · Post #3406 · 20.04.2025 г., 20:16
In 1978, Richard Branson wanted to impress his girlfriend by pretending to buy a private island. The island was listed for $6 million and he offered $100,000 as a joke. The owner settled for $180,000 and Branson bought Necker Island. #Human 🔔@Everything_Science
Hashtags
@everything_science · Post #3389 · 10.04.2025 г., 20:05
92-year-old woman graduated college, proving it is never too late. #Human 🔔@Everything_Science
Hashtags
@everything_science · Post #3387 · 09.04.2025 г., 16:18
Bill Gates owns a rare McDonald's Gold card that grants him free food for life. #Human 🔔@Everything_Science
Hashtags