@jonafzan · Post #446 · 20.06.2018 г., 08:14
📂 G-Dragon 🎤#BigBang 🎤#GDragon 📥 Link 👇👇 🌸🌸🌸Pack 1 🌸🌸🌸 t.me/addstickers/GDragonStickers 🌸🌸🌸 Pack 2 🌸🌸🌸 T.me/addstickers/BigbangStickers ⚙️@Jonafzan
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
Пребарај: #bigbang
@jonafzan · Post #446 · 20.06.2018 г., 08:14
📂 G-Dragon 🎤#BigBang 🎤#GDragon 📥 Link 👇👇 🌸🌸🌸Pack 1 🌸🌸🌸 t.me/addstickers/GDragonStickers 🌸🌸🌸 Pack 2 🌸🌸🌸 T.me/addstickers/BigbangStickers ⚙️@Jonafzan
@jonafzan · Post #39 · 19.02.2018 г., 06:42
G-Dragon #GDragon#BigBang
@jonafzan · Post #32 · 19.02.2018 г., 06:36
G-Dragon #GDragon#BigBang
@bubbletealuv · Post #3115 · 08.02.2025 г., 18:43
ᝬ 🤩𖠵 ゛ (( 🐰) new post by bubbletealuv ↝ #GDragon➛ #BigBang#Solo.. ✨ …( emoji ) 💭 взяли? буду рад увидеть плюсы и реакции.
@bubbletealuv · Post #1910 · 22.12.2023 г., 18:13
Тэян [BigBang] 🍱🍱🍱 💫установить пак💫 tag - #Taeyang#BigBang#solo#kpop
@bubbletealuv · Post #1909 · 21.12.2023 г., 19:51
Джи Драгон [BigBang] 🍜🍜🍜 🦖установить пак🦖 tag - #GDragon#BigBang#solo#kpop
@cosmomyst · Post #439 · 17.10.2025 г., 20:21
🪐 The cosmic microwave background is not just a faint afterglow—embedded within it are tiny, swirling patterns called "polarization anomalies," first mapped in detail by the Planck satellite. These twists in the microwave light tell scientists how matter and light interacted in the early universe, revealing clues about the first few moments after the Big Bang and hinting at processes like cosmic inflation—an explosive expansion that happened in fractions of a second. ✨ #cosmology⚡#universe⚡#bigbang⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels
@bubbletealuv · Post #1911 · 22.12.2023 г., 19:43
Дэсон [BigBang] 🍲🍲🍲 🐰установить пак🐰 tag - #Daesung#BigBang#solo#kpop
@abmedia_news · Post #23950 · 17.04.2026 г., 10:00
【🚀 交易市場|HYBE、SM、JYP、YG 合體推「Phenomenon」:韓版 Coachella 音樂節啟動 】 #BIGBANG#BTS#Coachella 📍 請見報導: https://abmedia.io/hybe-sm-jyp-yg-phenomenon 💸 [活動]:BingX 推出 SpaceX IPO 前資產的鏈上交易機制,進一步拓展未來高價值資產布局
Hashtags
@cosmomyst · Post #570 · 20.12.2025 г., 22:21
🪐 When the European Space Agency’s Planck satellite mapped the cosmic microwave background—the faint afterglow of the Big Bang—it found the universe’s temperature is nearly uniform everywhere, but with subtle hot and cold spots only millionths of a degree apart. These tiny temperature variations, scattered across the sky, serve as a cosmic “fossil record,” encoding clues to how galaxies, clusters, and the vast cosmic web evolved from the universe’s earliest moments. ✨ #microwaveradiation⚡#bigbang⚡#universe⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels
@cosmomyst · Post #724 · 27.03.2026 г., 22:21
🪐 The cosmic microwave background, first detected by Arno Penzias and Robert Wilson in 1965, is the faint, ancient light left over from the Big Bang that fills all of space and bathes galaxies like the Milky Way in low-energy microwaves. This "baby picture" of the universe reveals information about the cosmos just 380,000 years after its beginning, before any stars or galaxies existed, giving astronomers a unique window into how everything started and evolved. ✨ #microwaves⚡#bigbang⚡#universe⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels
@cosmomyst · Post #289 · 18.09.2025 г., 03:11
🪐 The cosmic microwave background is filled with "anisotropies"—tiny temperature variations only millionths of a degree apart, mapped in stunning detail by the Planck satellite. These subtle patterns show how matter and energy were distributed just 380,000 years after the Big Bang, providing a cosmic blueprint that led to the galaxies and clusters we see today. ✨ #microwaverelic⚡#bigbang⚡#universe⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#cosmos⚡#space 👉subscribe Universe Mysteries