Delete a record without prior loading in Entity Framework
Explains how to delete a database record in Entity Framework without loading it first, covering both classic and .NET 7+ methods.
Explains how to delete a database record in Entity Framework without loading it first, covering both classic and .NET 7+ methods.
Compares performance of dict() vs {} for creating dictionaries in Python, showing {} is significantly faster due to bytecode differences.
A former Twitter web app developer shares technical lessons and modern framework choices for rebuilding a social media platform like Twitter or Mastodon.
Explores new code analyzers coming in .NET 8, focusing on performance improvements like case-insensitive string comparisons.
Explains the new FrozenSet and FrozenDictionary collections in .NET 8, detailing their performance benefits and differences from read-only and immutable collections.
Debunks the myth that StringBuilder is always faster in C#, showing scenarios where simple concatenation or List<string> is better.
A technical guide on preventing Flash of inAccurate coloR Themes (FARTs) when implementing auto dark mode using client hints, Tailwind CSS, and server-side logic.
Explains how to measure heap allocations in .NET and reveals that an empty array consumes 24 bytes due to object overhead.
A guide to benchmarking Python code, comparing tools like timeit and Docker for objective performance measurement.
Benchmarking Python 3.11's performance improvements by testing common code patterns like loops, comprehensions, and sorting.
A technical article clarifying React's rendering behavior, specifically how parent component re-renders do not automatically cause children to re-render, using JSX and React.createElement examples.
Explores when and why to use Elixir Streams for lazy, memory-efficient data processing versus eager Enum operations.
Compares C# local functions and lambda expressions, highlighting key differences in recursion, yield usage, and performance.
A technical analysis and performance critique of TheNativeWeb's video search web app, focusing on Lighthouse metrics and potential optimizations.
Explains how TigerBeetle, a database written in Zig, operates using only static memory allocation for predictability and performance.
Explores new low-level C# 11 features allowing ref fields in structs for high-performance scenarios like custom collections and frugal objects.
Explores performance optimization in The Composable Architecture (TCA) using a multi-store pattern, with benchmarks from a real-world application.
Explains pagination concepts, formulas, and implementation in C#/SQL, comparing it to infinite scrolling for efficient data loading.
A guide explaining the React hooks useMemo and useCallback, covering their purpose, use cases, and how they optimize performance.
A developer details their journey rewriting their personal blog's static site generator from Haskell/Hakyll to a custom Rust solution to improve speed and reduce dependencies.