Сравнение различных способов создания пустых коллекций. (Да, создание пустой коллекции тоже требует ресурсов)
https://www.tabsoverspaces.com/233833-best-way-to-create-an-empty-collection-array-and-list-in-csharp-net
#collection #array
https://www.tabsoverspaces.com/233833-best-way-to-create-an-empty-collection-array-and-list-in-csharp-net
#collection #array
Хороший вопрос для собеседования – в чем разница между ToList() и ToArray()?
https://olegkarasik.wordpress.com/2019/07/23/what-is-the-difference-between-toarray-and-tolist
#ToList #ToArray #list #array
https://olegkarasik.wordpress.com/2019/07/23/what-is-the-difference-between-toarray-and-tolist
#ToList #ToArray #list #array
Oleg Karasik's blog
What is the difference between ToArray and ToList?
We as .NET developers probably use ToArray and ToList methods every day. But have you ever wonder how they work? What is the difference between them? Is there is a difference? :) If you have asked …
Весьма интересные способы улучшения производительности при работе с массивами, которые стали возможны благодаря пониманию того, как работает процессор.
https://antao-almada.medium.com/array-iteration-performance-in-c-branching-and-parallelization-d0705adbf425
#array #cpu #optimization
https://antao-almada.medium.com/array-iteration-performance-in-c-branching-and-parallelization-d0705adbf425
#array #cpu #optimization
Medium
Array iteration performance in C# — Branching and parallelization
This is a third post in a series on performance in C#.