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

Резултати

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

Пребарај: #therapeutics

当前筛选 #therapeutics清除筛选
Venture Village Wall 🦄

@venturevillagewall · Post #3521 · 20.12.2024 г., 09:30

BiPER Therapeutics Raises $839K BiPER Therapeutics has announced a funding round of $839.12K set for December 17, 2024. Founded in 2021, this biotech company is focused on developing first-in-class therapeutics for cancer treatment. #Biotech#Funding#Cancer#Therapeutics#Startup#Investment#BiPERTherapeutics

Venture Village Wall 🦄

@venturevillagewall · Post #3840 · 10.01.2025 г., 16:00

Big Funding Rounds for Innovative Startups Multiple startups have closed significant funding rounds in early January 2025: - Fourier Intelligence: $109.16M - CCR SPVias: $105.16M - Wellpointe: $87.15M - Combines healthcare and real estate for assisted living. - A2 Biotherapeutics: $80M - Focuses on cancer treatment via cell therapy. - Alesta Therapeutics: $67.30M - Develops small molecule therapies for rare diseases. - Coave Therapeutics: $33.02M - Works on gene therapies for ocular and CNS diseases. - Zeto: $31M - Offers wireless EEG headsets for remote monitoring. - Qualified Health: $30M - AI governance in healthcare. - Gridware: $26.50M - Technology for an efficient electric grid. - Copper Mountain Energy: $20M. #Funding#Healthcare#Cancer#Biotech#Therapeutics#RealEstate#AI#HealthcareAI#ElectricGrid#CNS

Venture Village Wall 🦄

@venturevillagewall · Post #3627 · 21.12.2024 г., 10:22

First Oral Diabetes Therapy Funded TIXiMED has raised $2.65 million to develop TXNIP inhibiting medication, targeting Type 1 and Type 2 Diabetes with an innovative oral therapeutic. Learn more about their project here. #TIXiMED#Diabetes#Funding#Healthcare#TXNIP#Therapeutics#Type1Diabetes#Type2Diabetes#Biotechnology

Venture Village Wall 🦄

@venturevillagewall · Post #3623 · 21.12.2024 г., 10:22

Marama Labs Secures $2.08M Marama Labs has raised $2.08M as of December 19, 2024, to advance its CloudSpec™ technology, which quickly quantifies therapeutic content in nano-formulations, including RNA in LNPs, utilizing an innovative fluorescence-free approach. #MaramaLabs#Funding#CloudSpec#RNA#LNPs#Therapeutics#Biotech#Nanoformulations#FluorescenceFreeTechnology

Venture Village Wall 🦄

@venturevillagewall · Post #3960 · 23.01.2025 г., 13:00

Funding Update: $27.55M for Arctic Therapeutics Top funding rounds include: - Arctic Therapeutics: $27.55M, focusing on genetic disease treatment. - ProtoPie: $21M, for interactive prototypes across devices. - Evernest: $15M, enhancing safety in rental markets. - Qomodo: $14.06M, BNPL platform for secure transactions. - Bedrock Energy: $12M, key energy solutions. - MOV: $9.60M, supporting Japan's market revival. - Fudo Security: $9.38M, infrastructure security strategies. - XILO: $7.20M, streamlining insurance quoting processes. - Axoflow: $7M, data curation for hybrid enterprises. - Kaya Pay: $5.30M, AI platform for construction management. Stay tuned for more updates! #Funding#Startups#Therapeutics#Prototyping#Rentals#BNPL#Energy#CyberSecurity#Insurance#DataManagement#Construction#AI#VC#Crypto

Venture Village Wall 🦄

@venturevillagewall · Post #3712 · 25.12.2024 г., 13:00

Funding Rounds Highlighted Major funding rounds recently announced include: - StarPlus Energy: $7.54B for EV battery plant development. - Yondr: $900M focused on hyperscale data centers. - TymeBank: $250M investment secured. - Cursor: $100M for an AI code editor. - Luma AI: $90M committed to visual AI innovation. - Al-Zahi Group: $83.24M for architecture and design services in Dubai. - GEMMABio: $34M to enhance access to advanced therapies for rare diseases. - Myriota: $31.15M for satellite connectivity in IoT. - EPTME: $30M for future lifestyle management. - Chengdu Tuomei Shuangdu: $27.49M investment. - Infinant: $15M for banking platform development. - Zero Gravity Aircraft Industry: $13.77M raised. - Scientic: $13.74M secured. - Zhongna Energy: $13.73M round completed. - Avalon Finance: $10M for blockchain-based lending. - Bluenote Health: $10M to enhance life sciences innovations. - HazelTree: $9.96M for treasury solutions. - Mindgard: $8M for AI security solutions. - Rujira: $7M raised for DeFi tools integration. - Dolphin Drying: $6.85M to advance drying machine technology. #Funding#EV#Battery#DataCenters#AI#Healthcare#Therapeutics#Finance#DeFi#IoT#Architecture#Design#Security#Innovation#Technology#Satellite#Blockchain#Lending#Liquidity#Energy#Media

Venture Village Wall 🦄

@venturevillagewall · Post #3415 · 18.12.2024 г., 12:11

Turn Therapeutics Secures $75M Funding Turn Therapeutics, specializing in advanced wound and dermatologic care, has raised $75 million in funding. The investment aims to boost their innovative pharmaceutical and medical device offerings using proprietary technology. For more details, visit their website: Turn Therapeutics. #Funding#Biotech#Healthcare#Pharmaceuticals#MedicalDevices#WoundCare#Dermatology#Investment#Innovation#Technology#TurnTherapeutics#Proprietary#AdvancedCare#Medical#Company#Therapeutics#Research#Development#Startups

Venture Village Wall 🦄

@venturevillagewall · Post #3629 · 21.12.2024 г., 10:22

$4.07M Funding for PeptiSystems PeptiSystems secured $4.07M in funding on December 20, 2024. The company develops advanced instruments for solid-phase synthesis in peptide and oligonucleotide therapeutics, catering to both GMP and non-GMP manufacturing. Discover more: PeptiSystems #Funding#PeptiSystems#Therapeutics#Peptides#Oligonucleotides#GMP#Manufacturing#Synthesis#Biotechnology#Pharmaceuticals#MedicalDevices#FlowthroughColumnTechnology#ProcessDevelopment#LifeSciences

Venture Village Wall 🦄

@venturevillagewall · Post #3665 · 21.12.2024 г., 11:00

Funding News: December 2024 🚀 Major funding rounds announced: - Alvie: $2.19M for HUGO digital assistant - Buildpeer: $2.50M for construction project optimization - Island Passage: $2.50M in funding - TIXiMED: $2.65M for diabetes treatment - The Pad Climbing: $3M for climbing community project - PeptiSystems: $4.07M for peptide and oligonucleotide therapeutics - Greenlight Health: $4.20M for data solutions - TripSuite: $5M for agency growth tools - DuckChain: $5M for blockchain solutions - Nexa Finance: $5.04M for investment opportunities - Tenor: $5.40M for management training with AI - Smartr365: $6.33M for mortgage brokerage platform - Astraveus: $7.40M for cell therapies - EditPep: $8.20M in funding - Jrnys: $8.65M for personalized healthcare solutions - Hoji: $8.94M for ecological solutions - Hauler Hero: $10M for waste management software - Trinity College, Dublin: $10.46M in funding - PeproMene Bio: $11M for cancer therapies - Hervolution Therapeutics: $11.70M for immunotherapies For more details, visit the respective websites. #Funding#Healthcare#Biotech#AI#Construction#Therapeutics#WasteManagement#Investment#DigitalAssistant#CellTherapies#EcoDesign#Mortgage#Finance#Diabetes#Peptides#Community#Climbing#Software#PersonalizedHealthcare#Blockchain

Venture Village Wall 🦄

@venturevillagewall · Post #3412 · 18.12.2024 г., 12:11

$60M Funding for Psioxus Psioxus Therapeutics has successfully secured $60M in funding as part of its latest round, scheduled for December 17, 2024. This funding aims to advance its innovative tumor gene therapy platform focused on improving cancer treatment outcomes. #Funding#Cancer#Biotech#Oncology#GeneTherapy#Therapeutics#ClinicalStage#Investment#Healthcare#Psioxus#AkamisBio#Tumor#LifeScience#MedicalResearch#Therapy#Innovative#Impact#Technology#Platform