@ethereumglobalnews · Post #938 · 13.10.2025 г., 05:58
🤣以太區塊鏈新聞 #恐懼貪婪指數 🚨【 #FearandGreed 回升:市場情緒略有修復】🌚加密貨幣恐懼與貪婪指數自昨日的 24(極度恐懼) 回升至 38(恐懼)情緒出現初步修復跡象 #FearnGreed#市場情緒#CryptoIndex
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
Пребарај: #cryptoindex
@ethereumglobalnews · Post #938 · 13.10.2025 г., 05:58
🤣以太區塊鏈新聞 #恐懼貪婪指數 🚨【 #FearandGreed 回升:市場情緒略有修復】🌚加密貨幣恐懼與貪婪指數自昨日的 24(極度恐懼) 回升至 38(恐懼)情緒出現初步修復跡象 #FearnGreed#市場情緒#CryptoIndex
@CryptoM · Post #65098 · 11.04.2026 г., 00:52
🚀 Altcoin Season Index Remains Steady at 35 CoinMarketCap's Altcoin Season Index has maintained its position at 35, unchanged from the previous day. According to NS3.AI, this index measures the performance of leading cryptocurrencies compared to Bitcoin over the past 90 days. #Altcoin#Crypto#Bitcoin#CoinMarketCap#Cryptocurrency#AltcoinSeason#NS3AI#CryptoIndex#CryptoNews#BTC
@CryptoM · Post #64469 · 09.04.2026 г., 01:45
🚀 Altcoin Season Index Remains Steady at 34 CoinMarketCap's Altcoin Season Index has remained at 34, showing no change from the previous day. According to NS3.AI, this index evaluates the 90-day performance of the top 100 cryptocurrencies, excluding stablecoins and wrapped tokens, in comparison to Bitcoin. #AltcoinSeason#Cryptocurrency#CryptoMarket#Bitcoin#Altcoins#CoinMarketCap#CryptoIndex#NS3AI#BTC
@CryptoM · Post #65000 · 10.04.2026 г., 13:19
🚀 CoinDesk 20 Experiences Slight Decline Amid Mixed Asset Performance The CoinDesk 20 index recorded a minor decrease, trading at 2,007.93, reflecting a 0.2% drop or a decline of 3.4 points from the previous day's close. According to NS3.AI, individual asset performances varied, with HBAR experiencing a 1.9% decline and ADA falling by 1.3%. In contrast, AVAX saw a rise of 0.6%, while BTC increased by 0.3%. #CoinDesk20#CryptoMarket#HBAR#ADA#AVAX#BTC#CryptoIndex#AssetPerformance
@CryptoM · Post #64668 · 09.04.2026 г., 13:18
🚀 CoinDesk 20 Experiences Slight Decline as ICP Leads Gains The CoinDesk 20 index recorded a slight decrease, trading at 1,982.06, marking a 0.6% drop since 4 p.m. ET on Wednesday. According to NS3.AI, Bitcoin remained stable during this period. Internet Computer Protocol (ICP) emerged as the leading gainer with a 1.5% increase, while AAVE and Stellar (XLM) were among the assets experiencing declines. #CoinDesk20#ICP#Bitcoin#AAVE#Stellar#Cryptocurrency#MarketDecline#CryptoIndex#BTC