@michaelvandepoppeanalyst · Post #4425 · 09.08.2024 г., 17:57
1.3B $USDT has been transferred from #TetherTreasury to exchanges since the market crash on Aug 5!
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
Пребарај: #tethertreasury
@michaelvandepoppeanalyst · Post #4425 · 09.08.2024 г., 17:57
1.3B $USDT has been transferred from #TetherTreasury to exchanges since the market crash on Aug 5!
Hashtags
@michaelvandepoppeanalyst · Post #4543 · 20.08.2024 г., 06:35
Tether Treasury minted 1B $USDT on #TronNetwork again 25 minutes ago! #TetherTreasury has minted 33B $USDT in the past year, of which 19B $USDT was minted on #TronNetwork and 14B $USDT was minted on #Ethereum. https://tronscan.org/#/contract/TBPxhVAsuzoFnKyXtc1o2UySEydPHgATto/transfers
@michaelvandepoppeanalyst · Post #4474 · 15.08.2024 г., 07:22
Since August 5, 955M $USDT has flowed into #Kraken from #TetherTreasury through the deposit address "TQef...k32t" on #TronNetwork. https://tronscan.org/#/address/TQef1npDuBwGCVXKY5SE9A1BdPSEYzk32t/transfers The current circulation of $USDT is 116.53B, with 52.05% circulating on #TronNetwork.
@spotonchain · Post #952 · 09.08.2024 г., 01:29
Wallet 0x1db (likely #Cumberland) transferred 270M $USDT from the #TetherTreasury to CEXs in the past 24 hours as the market rebounded! After the market dipped on Aug 5, this wallet received 660M $USDT from the Tether and then injected 607.3M $USDT to various exchanges, including: • $333M to #Coinbase • $118.5M to #Kraken • $72.4M to #Binance • $51.5M to #OKX • $32M to #Bullish It seems like institutions are still buying? Follow @spotonchain and check out the Cumberland’s address via https://platform.spotonchain.ai/en/profile?address=0x1dbbbc3fdb2c4fabd28fd9b84ed99ceb84bfbec5
@spotonchain · Post #963 · 14.08.2024 г., 04:40
The #TetherTreasury minted 1B $USDT on #Ethereum and transferred 183.2M $USDT to #Cumberland for CEX deposits in the past 16 hours! Overall, since the crash on Aug 5 (9 days ago), Cumberland has • received 953M $USDT from Tether on Ethereum • then injected 906.7M $USDT into various exchanges, including #Coinbase, #Kraken, #OKX, #Binance, and #Bullish.com. Follow @spotnchain and check out the Cumberland’s address via https://platform.spotonchain.ai/en/profile?address=0x1dbbbc3fdb2c4fabd28fd9b84ed99ceb84bfbec5