Performance of Regex/Substring/Slice in C#

In my last post, I mentioned that Regex in C# is very slow. Today we'll look at the performance differences between Regex, Substring, and Slice in C#.

High Performance Log parsing in C# - Second(ish) Attempt

I knew Regex in C# was slow, but I didn't realize how slow until I tried using Substring. I didn't realize string allocation could be an issue, until I used Substring.

Getting Started With MongoDB and C#

Getting started with MongoDB and ASP.NET Core WebAPI. How to do it with dependency injection, the repository pattern, and proper abstraction of the data layer from your API project.

Handling Schema Changes in C# and MongoDB

MongoDB does not have schema, but our software does. Changing that schema with no downtime can be a complex undertaking. There are many ways to handle it, here are my thoughts on it.

Distributed Locks in C#

Why I Wrote SharpLock instead of using an existing library for my application.

High Performance Log parsing in C# - First Attempt

4 years ago I started a side project to keep my development skills sharp. Here is how my first attempt went.

High Performance Log parsing in C# - A Brief History

4 years ago I started a side project to keep my development skills sharp. Little did I know it was going to be a project I revisited every 8-10 months.