TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

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

Резултати

Пронајдени 11 слични објави

Пребарај: #fearandgreed

当前筛选 #fearandgreed清除筛选

How to use Fear & Greed and Altcoin Season indicators to make decisions? If you trade or invest in crypto, these two indicators will help you understand the overall market sentiment and choose a more intelligent strategy. Let's look at what they show: 😨Fear & Greed Index. Current: 52 — Neutral This index reflects the emotions of traders: 0–24 — Strong fear. Market is oversold, entry points are possible. 25–49 — Fear. Cautious mood, consolidation possible. 50–74 — Greed. Investors are confident, but they should be more careful. 75-100 — Strong greed. Overheating and rollback may occur. 🤔What to do: If fear is high (especially <25) — consider purchases. If you are very greedy (>75) — take profit, do not enter at highs. 💎Altcoin Season Index. Current: 17/100 This indicator shows who dominates the market — Bitcoin or altcoins: <25 — Bitcoin Season: Capital Flows into Bitcoin, Alts Weaken. 25–75 — Mixed phase. >75 — Altcoin Season: altcoins are actively growing. 🤔What to do: Now (17/100) — Bitcoin dominates. Risks for altcoins are higher. Better to focus on BTC and wait for a trend change. When >75 - you can look for alts with strong dynamics and enter them on growing interest. 🐃Trade in Telegram mini app #Crypto#AltcoinSeason#FearAndGreed

以太坊区块链新闻| ETH 以太币圈热瓜

@ethereumglobalnews · Post #1592 · 21.12.2025 г., 06:18

😱🤑 Fear dominates crypto sentiment across BTC and ETH. 恐慌與貪婪指數更新(12/20) • BTC:20|極度恐慌 • ETH:33|恐慌 #BTC#ETH#FearAndGreed ——— ➡️ 市場情緒明顯偏向防守,風險厭惡升溫。#Markets#Insight 👇⭐️👇 🤣 資源搜索 點擊 🖲️👆

以太坊区块链新闻| ETH 以太币圈热瓜

@ethereumglobalnews · Post #1247 · 29.10.2025 г., 16:52

😱🤑 Market Sentiment Update 📊#FearandGreed#Index: • BTC:51(中性偏多) • ETH:49(中性偏空) ☺️多空拉鋸,加密市場進入猶豫換手期。情緒一旦突破臨界點 → 波動會加大 #Insight 👍@EthereumGlobalNews 🥲 🥲Follow for more Web3 News 🤣

以太坊区块链新闻| ETH 以太币圈热瓜

@ethereumglobalnews · Post #1355 · 14.11.2025 г., 02:28

🪙EthGlobalNews | #BTCMarket Alert 🚨 ALERT: #Crypto sentiment has plunged into extreme fear — the lowest since March. #Bitcoin is hovering near $100K while gold and silver rally sharply after the US government shutdown ended. —————— 📌 市場情緒跌至三月以來最低點;避險資產走強下,BTC 價格仍承壓震盪。 #FearAndGreed#Macro ——— 👍@Web3NewsInsight 🥲 🥲Follow for more Web3 News 🤣

🇺🇸📊 以太全球新聞 📆 2025-10-11 EthereumGlobalNews📈數據恐慌值 🤑😱【#BTC 恐懼與貪婪指數為 27 —— 市場處於「恐懼」狀態】 市場情緒明顯轉弱,投資者傾向保守觀望。該指數顯示潛在超賣情緒正在醞釀。 #FearAndGreed#BTC#市場情緒#CryptoSentim

以太坊区块链新闻| ETH 以太币圈热瓜

@ethereumglobalnews · Post #1866 · 21.01.2026 г., 07:30

🪙😱 Market Sentiment 📊 情緒指標更新: • 當前指數:24(Extreme Fear) • 市場情緒跌入 極度恐慌區間 • 投資者風險偏好顯著下降 • 恐慌拋售與去槓桿情緒同步放大 #Ethereum#Markets#Sentiment#FearAndGreed#恐惧贪婪#区块链 ——— 結構解讀關鍵👇🥇資源搜索群🖲️👆 ⚡️ Insight: • Extreme Fear 通常出现在: – 大规模清算之后 – 价格快速回调阶段 • 历史上,多数中期底部都形成于 恐慌区间 • 情绪与价格往往存在 明显滞后效应 • 当市场最悲观时,往往接近 阶段性转折点 📌 极度恐慌,往往是 趋势投资者最关注的区域。 👇⭐️👇 🤣留言分享觀點 🥲👇

以太坊区块链新闻| ETH 以太币圈热瓜

@ethereumglobalnews · Post #1527 · 09.12.2025 г., 09:28

😱🤑 Fear & Greed Index Update #ETH 情緒:Fear(37) #以太坊#市场情绪#虚拟货币 #CryptoAnalysis#FearAndGreed ——— 已反彈至恐懼情緒不建議今天瞎雞巴操作❗️#Insight ✅Chat: @Web3NewsInsight 🦂 👇Tip👇讚 或點擊進行💎資源搜索👇

以太坊区块链新闻| ETH 以太币圈热瓜

@ethereumglobalnews · Post #1223 · 27.10.2025 г., 08:58

💥 Bitcoin Market Pulse #MarketSentiment 🔥 TODAY: Bitcoin Fear & Greed Index 離開「恐懼」區間,為近期暴跌後首次反彈。 🚨 Market Movers #Saylor#MicroStrategy 📣 SAYLOR:「It’s Orange Dot Day.」 #Insight : MicroStrategy 週更式增持 BTC 可能再度啟動 #BTC#FearAndGreed 👍@EthereumGlobalNews 🥲 🥲Follow for more Web3 News 🤣

【 BTC / ETH 10/15恐懼貪婪指數 】 #BTC 恐懼與貪婪指數位於「恐懼」區間,#ETH 指數 則接近中性偏貪婪,顯示部分資金正在逐步回流以太坊生態。 #FearAndGreed#BTC情緒#ETH情緒 🤣 以太區塊鏈新聞 🗓 2025-10-15 EthereumGlobalNews 💵#市場情緒觀察

Venture Village Wall 🦄

@venturevillagewall · Post #4250 · 26.02.2025 г., 13:00

Crypto Market Faces Severe Downturn 1️⃣ BTC inflow to exchanges hits annual high amidst panic. Price dropped below $90,000, triggering massive sell-offs. 2️⃣ Fear & Greed Index plunges to extreme fear (25), signaling anxiety in crypto markets. 3️⃣ BTC holders recorded losses of $1.73 billion, marking the highest since August 2024. 4️⃣ ETF funds faced major outflows totaling $1.01 billion, a record since launch. 5️⃣ Meme coins like Dogecoin and Shiba Inu drop significantly, as market saturation affects their traction. 6️⃣ New AI-meme project MIND of Pepe raises $6.8 million, distinguishing itself with functional AI integration. 7️⃣ Ethereum Foundation pledges $1.25 million for legal defense of Tornado Cash developer. 📈More Details on Bitcoin Rally Potential 🔗Ethena Stablecoin Investment 🔗Optifye Startup Controversy #Crypto#BTC#ETH#MemeCoins#AI#MarketTrends#Investments#Outflows#FearAndGreed#Blockchain#Saturation#MarketAnalysis#DeFi#Ethereum#TornadoCash#VC#WhaleAlert#YCombinator#Optifye#MINDofPepe