DuckDB.NET 1.5.6.1: 128-bit Values Up to 6.6× Faster
DuckDB.NET 1.5.6.1 reads HUGEINT columns 6.6 times faster and UUIDs 3.3 times faster with Int128 instead of BigInteger. Part 3: HUGEINT, UUID and DECIMAL.
DuckDB.NET 1.5.6.1 reads HUGEINT columns 6.6 times faster and UUIDs 3.3 times faster with Int128 instead of BigInteger. Part 3: HUGEINT, UUID and DECIMAL.
DuckDB.NET 2.0.0-preview.1 is on NuGet. The breaking changes: HUGEINT reads as Int128, Prepare() really prepares, and lossy conversions now throw.
DuckDB.NET 1.5.6.1 appends DateTime values up to 27 times faster and cuts allocations from 2.8 GB to 93 KB. Part 2: dates, nullables, enums and strings.
DuckDB.NET 1.5.6.1 is up to 26 times faster on the same DuckDB 1.5.6 engine. Part 1: how sealing, fast paths and less boxing make reads up to 12 times faster.
How to turn the Num Lock, Caps Lock and Scroll Lock LEDs on and off from C# without changing the key state, using DeviceIoControl.
Part 4 of the series: binding variables by name with anonymous objects, and compiling an expression once to evaluate it with different values.
How to use Reactive Extensions (Rx) in .NET to run a slow database query in the background and load the results into a grid in chunks.
Part 3 of the series: adding support for variables to the C# expression evaluator with Expression.Parameter and compiled lambdas.
Part 2 of the series: rewriting the C# expression evaluator with the shunting-yard algorithm and adding support for parentheses.
Part 1 of the series: a basic mathematical expression evaluator in C# built with expression trees, developed test by test.
Table of contents for a four-part series on building a mathematical expression evaluator in C# with expression trees.
Tips for handling the AppDomain.AssemblyResolve event in .NET: parsing assembly names, handling repeated calls and avoiding FileNotFoundException.
Process.MainModule.FileName throws for elevated processes. Here is how to get the process path in .NET with QueryFullProcessImageName instead.
Process.StartTime and Process.HasExited throw an access denied Win32Exception for elevated processes. Here is why it happens and how to work around it.