When writing fast code, we want to work with Integers and Arrays as much as possible. To do this, we need a way of mapping our Domain representation down to raw Integers, though. Here I show you the technique I use daily to perform this mapping while maintaining a robust domain representation so that the compiler can help us as much as possible.
Code: github.com/mat...
=== Contact ===
Email: hi@fastfsharp.com
Mastadon: mastodon.sdf.o...
Twitter: / fastfsharp
=== Tags ===
Tags: #fsharp, #dotnet, #highperformance
2 окт 2024