A deep dive into Collections, Sequences, and Iterators in Swift
An in-depth exploration of how iteration works in Swift, covering Sequences, Collections, and Iterators with technical implementation details.
An in-depth exploration of how iteration works in Swift, covering Sequences, Collections, and Iterators with technical implementation details.
Explains the performance difference between C# collection expressions and collection initializers, showing how expressions preallocate lists.
Explains why iterating over a concrete List<T> in C# is faster than iterating over an IList<T> interface, covering boxing and virtual method overhead.
A developer details their experience updating a personal blog to use Astro 5.0's Content Collections API for improved performance and maintainability.
A technical guide on implementing hackable date-based URL indexes (year, month, day) in the Eleventy static site generator using custom collections and templates.
A comprehensive guide to using Rust's built-in collection types, including vectors, arrays, hashmaps, and sets, with performance tips and examples.
Introducing the new ReadOnlySet<T> type in .NET 9, explaining its purpose and advantages over existing interfaces and workarounds.
Explores the potential new 'params collections' feature in C# 13, allowing the params keyword to be used with collection types beyond arrays.
Analyzes the performance and memory impact of Java's ArrayList.clear() method, explaining its internal workings and potential memory retention.
A tutorial on grouping and sorting collections in Swift using Dictionary(grouping:by:) and custom structures for ordered results.
Java 21 introduces new SequencedCollection, SequencedSet, and SequencedMap interfaces to simplify working with ordered collections like getting first/last elements.
A comprehensive guide to the various collection-like types in .NET (C#), explaining their differences, use cases, and best practices for selection.
A guide to advanced .NET Collections, covering generic, concurrent, and immutable namespaces for efficient C# development.
Explains the performance difference between using `isEmpty` and `count == 0` to check for empty collections in Swift, focusing on time complexity.
Learn how to create custom collections in Eleventy to organize and display blog posts more efficiently without repetitive tagging.
Compares Python's OrderedDict vs standard dict performance, explaining when and why OrderedDict is still useful.
Explains Laravel 5.4's new higher order messaging and 'when' method for collections, showing cleaner syntax for filtering and actions.
Explains Laravel's tap() helper function, its 'higher order' version, and how to use it with collections for cleaner code.
Swift programming guide on initializing arrays and dictionaries using literals and shorthand syntax for cleaner code.
Explains the importance of consistent hashCode() implementation in Java and the risks of mutable objects in hash-based collections.