@developmentnewsindia · Post #44355 · 03.05.2026 г., 07:46
🇮🇳🚱🇵🇰 Baglihar Dam’s gates on the Chenab River in Ramban, Jammu & Kashmir, remain shut, with no visible water being released downstream towards Pakistan. #Water
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #32 · 7 фев.
Скорее всего уже слышали, что складывать строки через + это плохая практика. Падение производительности, и всё такое. Без лишних слов, давайте измерять: from timeit import timeit def t1(): # складываем 10 строк через + из переменной t = 'text' for _ in range(1000): s = t + t + t + t + t + t + t + t + t def t2(): # склеиваем список строк через метод join arr = ['text'] * 10 for _ in range(1000): s = ''.join(arr) def t3(): # складываем через + но не из переменной а непосредственно инлайн объекты for _ in range(1000): s = 'text' + 'text' + 'text' + ... # всего 10 раз Теперь каждую строку склейки запустим по 10М раз >>> timeit(t1, number=10000) 0.21951690399964718 >>> timeit(t2, number=10000) 1.4978306379998685 >>> timeit(t3, number=10000) 0.2213820789993406 Хм, а нам говорили что через "+" это плохо и медленно ))) 😁 Тут стоит учитывать, что речь идёт о склейке множества длинных строк. Давайте изменим условия: def t4(): t = 'text'*100 for _ in range(1000): s = t + t + t + t + t + t + t + t + t def t5(): arr = ['text'*100] * 10 for _ in range(1000): s = ''.join(arr) def t6(): for _ in range(1000): s = 'text'*100 + 'text'*100 + ... # всего 10 раз >>> timeit(t4, number=10000) 12.795130728000004 >>> timeit(t5, number=10000) 2.642637542999182 >>> timeit(t6, number=10000) 0.2184546610005782 Вот, уже другой разговор, сразу видна разница, в среднем в 6 раз. Но погодите, почему последний тест t6() по скорости такой же как и t3()? Ведь строки теперь в 100 раз длиннее! Это вопросы оптимизации кода, какие простые изменения ускоряют или замедляют выполнение программы. Мы столкнулись с примером обхода обращения к переменной. Например, именно так работает директива #define в С++, во время компиляции подставляя значение переменной вместо ссылки на неё. В Python это тоже работает, но часто ли вы сможете встретить такой способ работы со строками? К сожалению, способ почти только теоретический. В целом, тесты показали то, что мы хотели. Делаем выводы самостоятельно. Полный листинг 🌍 #tricks
Пребарај: #water
@developmentnewsindia · Post #44355 · 03.05.2026 г., 07:46
🇮🇳🚱🇵🇰 Baglihar Dam’s gates on the Chenab River in Ramban, Jammu & Kashmir, remain shut, with no visible water being released downstream towards Pakistan. #Water
Hashtags
@PracticalInformation · Post #1331 · 31.07.2022 г., 05:49
California announces plan to charge landowners for their own water It's not satire — it's Agenda 2030 perfect awareness of all resources and economic activity. California has announced to landowners that they now are going to be billed for the water they take out of their own wells, on their own land. Hundreds of dollars in fees are looming, with 25% penalties for those who don't pay on time: "Landowners whose property is within an unmanaged area and contains an operating ground water extraction well must report the volume of groundwater extracted from the well. The groundwater extraction volume must be reported as a monthly total. In addition to pumping volumes, reports must include the location of the well and the place and purpose of use of the groundwater. Groundwater extraction reports are not due to the state water board until February 1, 2023. However, if you are required to report, the report must include pumping volumes for each month between the date of receipt of this letter and September 30, 2022." #Water https://www.wnd.com/2022/07/california-announces-plan-charge-landowners-water/
Hashtags
@MostInspiring · Post #244 · 03.12.2018 г., 03:16
Most Important Thing in our lives is #water @MostInspiring
Hashtags
@NatureTravelVacationPictures · Post #718 · 16.04.2019 г., 18:30
🌿❤️✨🍃 Turtle🐢🐢🐢 #Water#Nature Join Us ✅🔜@Discover_Nature 🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃
@vorishfursuits · Post #107 · 18.02.2021 г., 04:05
https://www.furaffinity.net/view/33871590/ #water#pooltoy
@ncdcgov · Post #4305 · 14.06.2024 г., 09:00
Contamination of drinking #water can occur at the source, during transportation, or storage at home. Ensure your water is safe before use: ➡️BOIL water before drinking ➡️USE water from safe sources ➡️STORE water in properly covered containers ➡️ENSURE bottled water is properly sealed before buying Advisory: https://ncdc.gov.ng/news/513/stop-cholera%3A-public-health-advisory #STOPCholera
Hashtags
@googlefactss · Post #40493 · 07.01.2026 г., 07:02
A water filter called "Life Straw" allows a person to drink directly from a dirty water source. Extremely portable and easy to use, it filters water through pores that are tiny enough to block parasites and other types of bacteria. [Read more..] @googlefactss#water#nowyouknow
Hashtags
@mdmbeng · Post #2201 · 12.10.2024 г., 11:00
#限免#Water Eject 📳手机震动排水 喇叭清灰App 【 Water Eject 】终身会员限免速收 📣 频道:@mdmbeng 投稿:@mdmbeng_Bot
@interesting_planet_facts · Post #506 · 05.08.2025 г., 20:22
🌎 In Mexico's Yucatán Peninsula, the cenote Ik Kil is a natural sinkhole filled with crystal-clear water, formed by collapsed limestone over thousands of years. Once sacred to the Maya, these cenotes provided fresh water and served as entrances to the underworld in ancient beliefs. ✨ #geology⚡#history⚡#water 👉subscribe Interesting Planet
@NatureTravelVacationPictures · Post #1411 · 28.05.2019 г., 02:30
🌿🍁🍃 Inyo National Park #Water#Places#Nature 💁Join Us ✅🔜@BillionaireHomes 🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃
@naturetravelvacationpictures · Post #429 · 05.04.2019 г., 02:30
🌿❤️✨🍃 Karjini National Park, Australia #Places#Water#Nature Join Us ✅🔜@Discover_Nature 🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃
@NatureTravelVacationPictures · Post #1539 · 08.06.2019 г., 03:20
🌿🌻✨🍃 #Scenery#Nature#Water Join Us ✅🔜@Discover_Nature 🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃