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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
190
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
490
Other Decks in Programming
See All in Programming
The free-lunch guide to idea circularity
hollycummins
0
230
Ruby x Terminal
a_matsuda
7
600
AI時代のソフトウェア開発でも「人が仕様を書く」から始めよう-医療IT現場での実践とこれから
koukimiura
0
150
How to stabilize UI tests using XCTest
akkeylab
0
130
go directiveを最新にしすぎないで欲しい話──あるいは、Go 1.26からgo mod initで作られるgo directiveの値が変わる話 / Go 1.26 リリースパーティ
arthur1
2
560
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
990
社内規程RAGの精度を73.3% → 100%に改善した話
oharu121
13
8.1k
[SF Ruby Feb'26] The Silicon Heel
palkan
0
110
Swift ConcurrencyでよりSwiftyに
yuukiw00w
0
270
20260313 - Grafana & Friends Taipei #1 - Kubernetes v1.36 的開發雜記:那些困在 Alpha 加護病房太久的 Metrics
tico88612
0
200
「やめとこ」がなくなった — 1月にZennを始めて22本書いた AI共創開発のリアル
atani14
0
390
encoding/json/v2のUnmarshalはこう変わった:内部実装で見る設計改善
kurakura0916
0
420
Featured
See All Featured
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
240
We Have a Design System, Now What?
morganepeng
55
8k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
1.9k
How to Talk to Developers About Accessibility
jct
2
150
Designing for Performance
lara
611
70k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
Are puppies a ranking factor?
jonoalderson
1
3.1k
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
Site-Speed That Sticks
csswizardry
13
1.1k
Why Our Code Smells
bkeepers
PRO
340
58k
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