@tokenpocket_channel · Post #1020 · 17.12.2023 г., 00:33
⭐️ What’s your favorite #Inscriptions today? 【Details】https://twitter.com/TokenPocket_TP/status/1736182165346586821 【Powered By】Crypto Box
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
Пребарај: #inscriptions
@tokenpocket_channel · Post #1020 · 17.12.2023 г., 00:33
⭐️ What’s your favorite #Inscriptions today? 【Details】https://twitter.com/TokenPocket_TP/status/1736182165346586821 【Powered By】Crypto Box
Hashtags
@tokenpocket_channel · Post #1021 · 17.12.2023 г., 07:59
🆕We just released TokenPocket’s New Version on Android. 🔺1.9.5🔺 🟧Fully support BRC20 tokens deposit, withdrawal, and token price display. From now on, you can easily use TokenPocket_TP to store, transfer, and trade your #BRC20 tokens and #inscriptions. #Bitcoin All-in-one, all-in TokenPocket. 👉https://tokenpocket.pro/ 【Details】https://twitter.com/TokenPocket_TP/status/1736294353277264098 【Powered By】Crypto Box
Hashtags
@tokenpocket_channel · Post #1009 · 14.12.2023 г., 10:17
🆕http://evm.ink now fully supports TokenPocket Wallet login and http://evm.ink is also listed on the TokenPocket #Inscriptions List! 👉https://www.tokenpocket.pro/ evmink is a #multichain#inscriptions indexer and marketplace. It has surpassed 270 million inscriptions and has more than 500,000 monthly unique wallet/visitors. Now users can explore #Inscription on BNBCHAIN, ethereum, and 0xPolygonLabs. 👉https://evm.ink/ 【Details】https://twitter.com/TokenPocket_TP/status/1735241797901996541 【Powered By】Crypto Box
@blackwallp · Post #68332 · 09.04.2026 г., 05:35
#надписи#мотивация#inscriptions#motivation 🎥Videowallpaper |😀Emoji |🎼Ringtone
@tokenpocket_channel · Post #983 · 07.12.2023 г., 12:59
🆕New Tool: Easy Inscription 👉https://tp-lab.tokenpocket.pro/insc/index.html?locale=en/#/ 🚀To help #Inscriptions fans gain a smoother experience on TokenPocket_TP, we've released a new inscription tool — Easy Inscription! ✅ Supported 24 networks now and more in the future ✅ Easy and efficient You can inscribe the #Inscriptions on BNBCHAIN, ethereum, 0xPolygon, avax, and other 20+ networks! #BRC20#DRC20#Ethereum#Ordinals $ORDI 【Details】https://twitter.com/TokenPocket_TP/status/1732745954607165865 【Powered By】Crypto Box
@tokenpocket_channel · Post #1024 · 18.12.2023 г., 07:45
🟥 Avascriptions is now listed on TokenPocket_TP! Avascriptions 🔴 From now on, search "Avascriptions" directly on TokenPocket or find "Avascriptions" on the TokenPocket Avalanche Hot DApp list! - You can easily access the Avascriptions market and discover $ASCT $AVAV and other AVAX #Inscriptions marketplace! #AVAX#ARC20#asct All-in-one, all-in TokenPocket! 👉https://www.tokenpocket.pro/ 【Details】https://twitter.com/TokenPocket_TP/status/1736653233781895610 【Powered By】Crypto Box
Hashtags
@tokenpocket_channel · Post #1033 · 21.12.2023 г., 05:33
✨ Unlock simplicity in #BRC20 transfer! 🚀Now, easily transfer your #BRC20 assets in just ONE step! 🔄 Inscribe and transfer seamlessly for a more efficient and convenient experience. 👉https://tokenpocket.pro Ready to experience seamless #BRC20 transactions? Follow the tutorial: 👉https://help.tokenpocket.pro/en/wallet-faq-en/btc-wallet/brc20 #Sats#ordi#RATS#Inscriptions 【Details】https://twitter.com/TokenPocket_TP/status/1737707370523005390 【Powered By】Crypto Box
@tokenpocket_channel · Post #1025 · 19.12.2023 г., 03:22
🟧 TokenPocket Now Fully supports BRC-20! #BRC20 ✅#BRC20 tokens deposit, withdrawal, and token price display. ✅ Transfer your #BRC20 in one single transaction (Inscribe and Transfer in one step) 🆕We just released the iOS new version 🔺2.1.9🔺(TP Wallet) and Android new version 🔺1.9.5🔺. Upgrade your TP Wallet/TokenPocket and discover the #BRC20#Inscriptions world with us! 👉https://www.tokenpocket.pro/ #Sats#ordi#RATS#Inscriptions 【Details】https://twitter.com/TokenPocket_TP/status/1736949473048420555 【Powered By】Crypto Box
@ethereumglobalnews · Post #1900 · 31.01.2026 г., 10:35
🚨区块链最新玩法「#铭文」正在快速升温,从 比特币 扩展至 以太坊,链上叙事正式进入「内容直接上链」阶段。 #比特幣新聞#区块链#币圈 📌 公开披露内容👇 資源搜索 🖲️👆 📌 重点解读: • 铭文不只是 NFT 延伸,而是基础层写入数据的新模式 • 链上不再只传价值,而是开始承载内容、叙事与共识 • 从转账工具,进化为「信息原生链」,正在改变区块链使用方式 #链上叙事#Web3#市场趋势 #Inscriptions#Bitcoin#区块链生态 👉 你目前对「铭文(Inscriptions)」的理解是? A️⃣ 听过但还不懂 B️⃣ 正在研究,觉得很有潜力 C️⃣ 已经实际上链操作过 👇⭐👇 🤣留言分享你的看法 👇
@tokenpocket_channel · Post #1019 · 16.12.2023 г., 11:25
Quoted TokenPocket_TP : Mint your #Inscriptions on TokenPocket Easy Inscription! TokenPocket_TP ✅Support 24 #EVM networks. 👉https://tp-lab.tokenpocket.pro/insc/index.html?locale=en/#/ Guide👉https://help.tokenpocket.pro/en/wallet-operation/tptool/inscription #AVAV#asct#ETHI#eths#Inscriptions 【Details】https://twitter.com/TokenPocket_TP/status/1735983609872630209 【Powered By】Crypto Box