Professional Development – 2024 – Week 13

Image Credit: https://www.flickr.com/photos/54585499@N04/

.NET

The Fastest Way to Search Gets Even Better in .NET 9 (via Nick Chapsas)

In .NET 8, we got a new class called SearchValues<T>. The example he used from a previous video was to take an input string and check if there are any characters that aren’t Base64 encoded. The limitation was with what type T could be; for example string was not allowed. Essentially the class caches some values upon initialization so that subsequent queries are very fast.