I am an Architect, Team Lead and a member of R&D Council in Visma Real Estate with 10+ years experience in .NET. Here I want to accumulate my thoughts and share some experience.
Gotcha with String Null Character
13 Oct, 2021
-
4 min read
This is a story of a pre-mature optimization that I started doing without proper analysis. It taught me that on different platforms we can achive different results by working with null character.
Some time ago I had a challenge to parse a Bank Account number, represented as a string, by type (IBAN, BankGiro, PlusGiro, etc..), and respective set of pre-defined rules. I will not go so deep into the techincal requirements, but the first step before the actual parser is coming into the game was to `remove all whitespaces` in the account number...
Performance optimisations. Classes vs Structs vs ArrayPool Structs
10 Jan, 2021
-
8 min read
Performance is a big and hard topic, there are already plenty of books and articles written. In this post I will not go into the basics or teory of performance instead I will jump directly into examples on how to improve performance...