← Back
Nick Chapsas March 25, 2024 9m

The Fastest Way to Search Gets Even Better in .NET 9

Summary

The video discusses the enhanced `SearchValues` class in .NET 9, a key improvement over its .NET 8 counterpart. This feature, originally aimed at optimizing .NET, allows for extremely fast and easy searching for values within collections, as demonstrated by benchmarks showing its superior performance compared to traditional character array or naive approaches. The practical takeaway is to replace existing code with this new `.NET 9` `SearchValues` implementation for common use cases, significantly boosting efficiency.

View original episode ↗