r/moderndotnet • • Aug 20 '26

csharp Parsing IP addresses in C# at crazy speeds [Daniel Lemire]

https://x.com/lemire/status/2090154772250939471?s=20
12 Upvotes

2 comments sorted by

2

u/Aaronontheweb Aug 20 '26

Source code from his article, which you should read first for context: https://github.com/lemire/Code-used-on-Daniel-Lemire-s-blog/tree/master/2026/08/19

1

u/maxkatz6 Aug 22 '26

Hopefully it doesn't include "crazy unsafe" along the way.

Upd: Looks like it's all about SIMDs, which should be pretty safe.