@figma60sec · Post #10768 · 27.03.2026 г., 11:05
Medusa UI — дизайн-система и набор компонентов для Figma. Figma Community • #system
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
Пребарај: #system
@figma60sec · Post #10768 · 27.03.2026 г., 11:05
Medusa UI — дизайн-система и набор компонентов для Figma. Figma Community • #system
Hashtags
@figma60sec · Post #10470 · 03.03.2026 г., 11:03
Custom Frame Presets — плагин с собственными размерами для фреймов. 🔗Figma Community ▫️#system
Hashtags
@figma60sec · Post #9573 · 18.12.2025 г., 11:04
Custom Frame Presets — плагин с собственными размерами для фреймов. 🔗Figma Community ▫️#system
Hashtags
@dps_build · Post #3 · 01.03.2023 г., 08:25
System Design Interview 作者 Alex Xu 的 newsletter https://blog.bytebytego.com/ #system
Hashtags
@ziyuanfxvip · Post #12951 · 20.09.2024 г., 10:32
📢 5个版本Windows 11 Version 22H2 官方VLSC正式版光盘系统 🏷️#System | Windows #Windows系统 👉🏻https://www.bccfxs.com/10799/
Hashtags
@interesting_planet_facts · Post #1371 · 12.04.2026 г., 12:11
🌎 Jupiter could fit all other planets inside it and still have space left over. This gas giant has a diameter of about 142,984 kilometers. Its Great Red Spot is a storm wider than Earth itself. ✨ #solar⚡#system⚡#astronomy⚡#planets 👉subscribe Interesting Planet 👉more Channels
Hashtags
@libreware · Post #1069 · 02.05.2022 г., 02:23
Anemo Local private storage for Android Anemo is a private local storage utility application for android. Instead of being a stand-alone file manager user interface, it hooks into various components of Android making it feel like a native part of the operative system. Moreover it provides ways for the user to export contents from other apps and save them as files. Features : - Create folders and organize files freely - All files in the private storage won't appear in the other apps - Access in the system Files application (the DocumentsProviderUI) - Lock access to the private storage >Quick tile >Auto lock after 15 minutes >Password for locking access to the files - Import content using the share Android functionality Download - https://github.com/2bllw8/anemo/releases https://github.com/2bllw8/anemo #New#system#utility @foss_Android
@eventplatform · Post #43 · 03.08.2017 г., 15:27
Не платите за интерактив! Просто откройте сайт votemagic.ru со своего смартфона #positive#voting#system#engineofemotions
@american_observer · Post #5291 · 05.03.2026 г., 17:02
#weapon#system#combat#search 📱American Оbserver - Stay up to date on all important events 🇺🇸
@venturevillagewall · Post #3344 · 18.12.2024 г., 12:06
Helpcare AI Secures $500K Funding Helpcare AI has successfully raised $500K in funding as of December 4, 2024. The company offers a complete operating system for HIPAA-compliant AI-driven automation in healthcare administration, enhancing efficiency in healthcare management. For more details, visit Helpcare AI. #HelpcareAI#Funding#Healthcare#AI#Automation#HIPAA#Technology#HealthcareManagement#Efficiency#Startup#Investment #2024 #Innovation#MedicalAI#Admin#System#Operations#Compliance#HealthTech