Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
EFFICIENT CREATION OF AN EMPTY COLLECTION IN .NET
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Benjamin Abt
June 02, 2022
Programming
260
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
EFFICIENT CREATION OF AN EMPTY COLLECTION IN .NET
https://github.com/BenjaminAbt/SustainableCode
Benjamin Abt
June 02, 2022
More Decks by Benjamin Abt
See All by Benjamin Abt
.NET - ToUpper vs. ToLower
abt
0
200
SustainableCode: Improve performance and reduce allocations with object pooling in .NET
abt
0
1.3k
Azure Data Centers and Regions
abt
0
940
Azure Static Web Apps
abt
0
1.2k
DateTime vs. DateTimeOffset in .NET
abt
1
1.4k
What's new in Visual Studio 2022
abt
0
510
Other Decks in Programming
See All in Programming
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
160
手動確認はもう限界 〜XCUITestでCustom URL Schemeの遷移を起動種別ごとに自動テストする〜 / Testing Custom URL Schemes with XCUITest
otouto
0
330
JRuby: Past, Present, and Future
headius
0
180
Java 27新機能 / Java 27 new features
kishida
2
160
Kiroで創り、AgentCoreで繋ぐ!AWSで実践する「AI-DLC」から「AIエージェント統合」までの最新地図
licux
4
750
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
1
11k
thread_parallel_with_free-threaded_Python_and_NumPy.pdf
riku_sakamoto
0
350
FreeBSDでZabbixを動かす
kenkino
0
320
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
16
13k
WebMCP Challenge に星空観察アプリで参加した話
okajun35
0
190
[GoCon2026] When Goroutines Are Not Enough: Runtime Locality in High-Throughput Go
takehaya
6
2.4k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
270
Featured
See All Featured
Building an army of robots
kneath
307
46k
The SEO identity crisis: Don't let AI make you average
varn
0
560
Joys of Absence: A Defence of Solitary Play
codingconduct
1
530
Become a Pro
speakerdeck
PRO
31
6.3k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
480
Docker and Python
trallard
47
4.2k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
250
Speed Design
sergeychernyshev
33
2.1k
Statistics for Hackers
jakevdp
799
230k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
200
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
540
WCS-LA-2024
lcolladotor
0
830
Transcript
EFFICIENT CREATION OF AN EMPTY COLLECTION IN
There are several ways to create a list: - Using
a list: List<string>() - By creating an array new string[]() - With the helper Enumerable.Empty<string>() But what is the most efficient way?
https://github.com/BenjaminAbt/SustainableCode