MLabs Publications

The many minds at MLabs present news, case studies, editorials, tutorials, whitepapers, Cardano Catalyst proposals, and more.

Haskell, Optimisations Koz Ross Haskell, Optimisations Koz Ross

First Know Thy Self: Understanding String Matching Performance With ASCII

In this post, we explore the performance characteristics of string matching in ASCII text, comparing brute force, Boyer-Moore-Horspool, and DAWG-based approaches. You'll learn how benchmarking, algorithmic analysis, and practical implementation tradeoffs intersect—revealing when optimizations help, when they hurt, and how understanding your tools leads to better real-world performance.

Read More