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
230
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
170
SustainableCode: Improve performance and reduce allocations with object pooling in .NET
abt
0
1.2k
Azure Data Centers and Regions
abt
0
900
Azure Static Web Apps
abt
0
1.1k
DateTime vs. DateTimeOffset in .NET
abt
1
1.2k
What's new in Visual Studio 2022
abt
0
470
Other Decks in Programming
See All in Programming
XStateを用いた堅牢なReact Components設計~複雑なClient Stateをシンプルに~ @React Tokyo ミートアップ #2
kfurusho
1
910
楽しく向き合う例外対応
okutsu
0
150
Kubernetes History Inspector(KHI)を触ってみた
bells17
0
230
『テスト書いた方が開発が早いじゃん』を解き明かす #phpcon_nagoya
o0h
PRO
2
290
『GO』アプリ データ基盤のログ収集システムコスト削減
mot_techtalk
0
130
Immutable ActiveRecord
megane42
0
140
時計仕掛けのCompose
mkeeda
1
300
Writing documentation can be fun with plugin system
okuramasafumi
0
120
Linux && Docker 研修/Linux && Docker training
forrep
24
4.5k
パスキーのすべて ── 導入・UX設計・実装の紹介 / 20250213 パスキー開発者の集い
kuralab
3
790
Amazon S3 TablesとAmazon S3 Metadataを触ってみた / 20250201-jawsug-tochigi-s3tables-s3metadata
kasacchiful
0
170
負債になりにくいCSSをデザイナとつくるには?
fsubal
10
2.4k
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
80
8.8k
Rails Girls Zürich Keynote
gr2m
94
13k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
114
50k
Visualization
eitanlees
146
15k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
10
1.3k
Code Review Best Practice
trishagee
67
18k
It's Worth the Effort
3n
184
28k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
Making Projects Easy
brettharned
116
6k
Become a Pro
speakerdeck
PRO
26
5.1k
Building an army of robots
kneath
303
45k
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