6 posts about Memory Efficiency by 6 contributors.
Know Memory Efficiency? Share what you know with developers who are learning it.
Learn how to optimize memory access in C# .NET using CollectionsMarshal.AsSpan for high-performance scenarios. This API provides direct access to collection memory, reducing allocations and improving efficiency.
Arrays in C# are collections of homogeneous elements stored in contiguous memory. They have a fixed size, start from index 0, and allow easy access, modification, and iteration. C# supports multidimensional, jagged arrays, and LINQ operations.
A Dependency Property in WPF is a specialized property supported by the WPF property system. It enables data binding, styling, animation, and value inheritance. This system improves memory efficiency and provides automatic change notifications, making it essential for dynamic, data-driven applications.
MiniExcel is a lightweight, high-performance .NET library for handling Excel files. Simplifies tasks like reading and writing data with minimal dependencies and fast processing. Ideal for reporting, data export/import, and automation, MiniExcel offers a streamlined approach without the complexity of heavier libraries.
Iterators in Python allow efficient traversal of sequences by implementing iter() and next() methods. Unlike iterables, iterators represent a stream of data and support on-demand value computation, enhancing memory efficiency and performance.
SqlDataReader in ADO.NET provides fast, forward-only data retrieval from SQL Server databases. It reads data as a stream, minimizing memory usage, and making it ideal for large datasets. Unlike SqlDataAdapter, it offers high performance for read-only scenarios and is efficient in handling big data with minimal overhead.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article