Antão AlmadaBuilding Custom Iterators with ‘yield’ in C#Yield is a simple keyword but a powerful mechanism provided by the C# compiler that implements state machines.6 min read·Sep 15, 2023----
Antão AlmadaLINQ Internals: Speed OptimizationsBehind the elegant facade of LINQ lies a meticulously engineered core designed for more than just simplicity. This article delves into the…8 min read·Aug 29, 2023----
Antão AlmadaEfficient Data Processing: Leveraging C#’s foreach LoopEDIT: Added “Return items by reference” section9 min read·Aug 29, 2023----
Antão AlmadaImmutableArray<T> iteration performance in C#‘foreach’ on an ImmutableArray<T> is surprisingly fast. Equivalent to an array. Here I explain how is this possible.7 min read·Jul 31, 2023----
Antão Almada“A 12 % improvement, easily obtained, is never considered marginal” — Donald KnuthI’ve been writing articles about performance in .NET for several years but I frequently find in the comments the famous quote from the…3 min read·Jul 20, 2023----
Antão AlmadaSingle Instruction, Multiple Data (SIMD) in .NETWhat is SIMD?8 min read·Jul 7, 2023--3--3
Antão AlmadaUsing “React Query” to mutate smart contracts (part 2)NOTE: This series of articles use TypeChain to make strongly-typed calls to Ethereum. Please check its documentation and discussion board…2 min read·Dec 7, 2022----
Antão AlmadaUsing “React Query” to mutate smart contracts (part 1)In previous posts I explained how React Query can be used to query smart contracts, that is, to perform read calls. Now I’m going to…2 min read·Dec 7, 2022--1--1
Antão AlmadaUsing “React Query” to query smart contracts (part 3)Wallets that support multiple accounts and multiple blockchains, like MetaMask, make it very easy for a user to change active account and…2 min read·Dec 6, 2022----