@NEASingapore · Post #146 · 07.01.2021 г., 02:00
Leaving your soiled tissue on dining tables is inconsiderate and unsanitary! Dispose of them properly, to help prevent the spread of diseases. #SGUnited#BinOurTissues#KeepSGClean
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
Пребарај: #binourtissues
@NEASingapore · Post #146 · 07.01.2021 г., 02:00
Leaving your soiled tissue on dining tables is inconsiderate and unsanitary! Dispose of them properly, to help prevent the spread of diseases. #SGUnited#BinOurTissues#KeepSGClean
@NEASingapore · Post #154 · 22.01.2021 г., 10:50
Have you been returning your trays and binning used tissues? A large majority of people surveyed agreed that litter left behind poses a public health risk. However, whilst 90% felt that diners should clear their tables after eating at public dining places, the average tray return rate at most hawker centres is only around 30%. View key findings of the survey at https://www.nea.gov.sg/media/news/news/index/vast-majority-surveyed-feel-that-patrons-should-be-required-to-clear-their-tables-after-eating-at-public-dining-places We can do more to keep #OurHawkerCentres clean and safe for everyone! #ReturnOurTrays#BinOurTissues
@NEASingapore · Post #144 · 28.12.2020 г., 05:22
Phase 3 of Re-opening commences today. To accommodate the increase in group size of up to 8 persons, markings on seats and tables at the dining areas of hawker centres have been revised. While we bond over our favourite hawker food, let’s also #ReturnOurTrays and #BinOurTissues. #OurHawkerCulture is not just about the heritage, great food and bustling ambience – it is also about how it brings people from all walks of life together. Let’s keep #OurHawkerCentres clean and safe for everyone 😊 Access control and interim fencing at more markets will also be removed, details at https://www.nea.gov.sg/media/news/news/index/phase-3-of-re-opening-hawker-centres-and-markets
@NEASingapore · Post #69 · 20.06.2020 г., 03:30
We are all looking forward to dining in again at our favourite places. Let’s not forget good dining habits at #OurHawkerCentres to mitigate the spread of COVID-19! #BinOurTissues & #ReturnOurTrays, to keep the table clean for the next user and reduce the risk of disease transmission to cleaners and other members of the public. Eat from your tray, and don’t leave behind soiled tissues or wet wipes on dining tables. #FightCOVID19#SGClean
@NEASingapore · Post #67 · 17.06.2020 г., 12:55
Don’t leave your used tissues or wet wipes behind when dining at #OurHawkerCentres! It is important to dispose of used tissues or wet wipes which can be highly contaminated, to #FightCOVID19, especially as we resume our activities gradually. From 19 Jun when dining-in resumes, Safe Distancing Ambassadors at hawker centres and coffeeshops will be on hand to remind patrons to be socially responsible and observe personal hygiene. Let’s all do our part to keep ourselves and those around us safe. https://go.gov.sg/nea17jun20-hygieneathcs-toilets #BinOurTissues#ReturnOurTrays#SGClean#KeepSGClean
@NEASingapore · Post #73 · 02.07.2020 г., 00:30
Let’s remember to stay at least a metre apart from each other. We wouldn’t want all the effort and resources of the past few months to go to waste. Dining in at #OurHawkerCentres? Let’s not forget to #ReturnOurTrays and #BinOurTissues after enjoying the meal! #SGUnited#SafeDistancing#FightCOVID19