#Benchmarkdotnet
2 notas · última:
Memoization for a recursive function in F#
The post shows how to memoize a recursive F# solution for an Advent of Code puzzle, compares dictionary and map-based caches, and reports BenchmarkDotNet results.
How expensive is exception throwing in .NET 9?
BenchmarkDotNet measurements on .NET 9 show that try-catch without thrown exceptions has almost no overhead, while throwing and catching an exception adds measurable time and allocation.
