@finsignal · Post #3080 · 10.05.2024 г., 07:48
#TON has become the largest in the history of the #Pantera#Capital fund
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
Пребарај: #capital
@finsignal · Post #3080 · 10.05.2024 г., 07:48
#TON has become the largest in the history of the #Pantera#Capital fund
@DWFLabs · Post #244 · 09.03.2023 г., 00:00
We're excited to be able to support the mission of Tonstarter in bringing #builders, #community and #capital together to accelerate the growth of #TON ecosystem. Let's keep working towards building a future for TON together! ✨ Full announcement here. // About Tonstarter: ▫️Tonstarter is the first TON-native launchpad, enabling crypto projects to raise capital in a decentralized, safe, and user-friendly environment. Find out more here.
Hashtags
@Enviro_Climate · Post #311 · 24.11.2020 г., 19:32
Climate Change and the #Cost of #Capital in #Developing_Countries Source: Imperial College Business School Read more »» @Enviro_Climate
@DWFLabs · Post #251 · 15.03.2023 г., 00:00
Congratulations Tonstarter on closing a $1.5 million investment seed round! 🎉 We're proud to support your mission to unite #builders, #community, and #capital to accelerate the #growth of TON ecosystem ⚡ It's exciting to be building a bright future together 🫡 Full announcement here.
@venturevillagewall · Post #3491 · 19.12.2024 г., 13:58
GolfTRK Secures $675K Funding GolfTRK recently completed a funding round, raising $675K on December 4, 2024. For more information, visit their official site. #GolfTRK#Funding#Investment#Startup#Capital
@redfoxuz · Post #1317 · 20.10.2020 г., 20:41
Tipografika: Katta va kichik harflar #typography#basics#capital#letters#notes Instagram • Dribbble • YouTube • Telegram
@redfoxuz · Post #1316 · 20.10.2020 г., 20:41
Tipografika: Katta va kichik harflar #typography#basics#capital#letters#notes Instagram • Dribbble • YouTube • Telegram
@venturevillagewall · Post #3405 · 18.12.2024 г., 12:10
AutoWallis Secures $21.01M Funding AutoWallis has successfully completed a funding round, raising $21.01 million on December 11, 2024. For more information, visit their official site: AutoWallis. #Funding#AutoWallis#Investment#Capital#Finance#News#Business#Startups#Economy
@venturevillagewall · Post #4287 · 02.03.2025 г., 16:00
Trump Launches U.S. Crypto Reserve Initiative Former President Trump announces a U.S. Crypto Reserve to bolster the crypto industry, including assets like XRP, SOL, and ADA. The initiative aims to counteract previous administrations’ criticisms and position the U.S. as the global crypto capital. Investors react as $ADA surges 30% post-announcement. Read more here. #Crypto#ADA#XRP#SOL#Trump#US#DigitalAssets#Investment#Capital#Blockchain
@venturevillagewall · Post #3417 · 18.12.2024 г., 12:11
FAU Finance Corp. Raises $117.80M 🔹 FAU Finance Corp. secured $117.80 million in a funding round. 🔹 The round took place on December 13, 2024. 🔹 For more information, visit FAU Finance Corp.. #Funding#FAU#Finance#Corp#Raise#Investment#Capital #2024 #News#FinanceNews
@venturevillagewall · Post #3493 · 19.12.2024 г., 13:58
Vibly Fundraising Highlights Vibly has successfully raised $734.92K in its latest funding round, which took place on December 19, 2024. For more information, visit their website: Vibly. #Vibly#Funding#Investment#Startup#Tech#Finance#Innovation#Business#FundingRound#Capital#Growth#Entrepreneurship#Market#Development#Strategy#VentureCapital #2024
@venturevillagewall · Post #3397 · 18.12.2024 г., 12:10
Standard Wellness Secures $10M Funding Standard Wellness has successfully raised $10 million in funding as of December 17, 2024. The company is dedicated to enhancing quality of life by providing safe and easy access to cannabis. #Funding#Cannabis#Healthcare#QualityOfLife#Investment#StandardWellness#Capital#Access#Wellness#Health