Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
EFFICIENT CREATION OF AN EMPTY COLLECTION IN .NET
Search
Benjamin Abt
June 02, 2022
Programming
0
240
EFFICIENT CREATION OF AN EMPTY COLLECTION IN .NET
https://github.com/BenjaminAbt/SustainableCode
Benjamin Abt
June 02, 2022
Tweet
Share
More Decks by Benjamin Abt
See All by Benjamin Abt
.NET - ToUpper vs. ToLower
abt
0
180
SustainableCode: Improve performance and reduce allocations with object pooling in .NET
abt
0
1.3k
Azure Data Centers and Regions
abt
0
910
Azure Static Web Apps
abt
0
1.1k
DateTime vs. DateTimeOffset in .NET
abt
1
1.3k
What's new in Visual Studio 2022
abt
0
480
Other Decks in Programming
See All in Programming
第9回 情シス転職ミートアップ 株式会社IVRy(アイブリー)の紹介
ivry_presentationmaterials
1
260
Discover Metal 4
rei315
2
110
なぜ「共通化」を考え、失敗を繰り返すのか
rinchoku
1
630
Kotlin エンジニアへ送る:Swift 案件に参加させられる日に備えて~似てるけど色々違う Swift の仕様 / from Kotlin to Swift
lovee
1
260
GraphRAGの仕組みまるわかり
tosuri13
8
520
都市をデータで見るってこういうこと PLATEAU属性情報入門
nokonoko1203
1
590
ソフトウェア品質を数字で捉える技術。事業成長を支えるシステム品質の マネジメント
takuya542
1
4.4k
Blazing Fast UI Development with Compose Hot Reload (droidcon New York 2025)
zsmb
1
280
すべてのコンテキストを、 ユーザー価値に変える
applism118
3
1.1k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
50
32k
Google Agent Development Kit でLINE Botを作ってみた
ymd65536
2
220
新メンバーも今日から大活躍!SREが支えるスケールし続ける組織のオンボーディング
honmarkhunt
3
2.4k
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Being A Developer After 40
akosma
90
590k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
138
34k
Designing Experiences People Love
moore
142
24k
Music & Morning Musume
bryan
46
6.6k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
The Cost Of JavaScript in 2023
addyosmani
51
8.5k
Code Review Best Practice
trishagee
69
18k
A better future with KSS
kneath
239
17k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
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