Go strings manipulation: Optimize performance x100

1 · Omar Ghader · Oct. 30, 2022, 8:38 a.m.
Optimization, faster, better… these words are always what we search for on google to make our stuffs better. In a recent project I’ve worked on, the optimization was the main focus. While string manipulation could not be your issue if your program process few words, my project was processing millions of strings per second. Thus, each nanosecond counts! The tips below are the fruit of 2 months of work. These tips may not all fit your needs, test them all and choose what fits your code more....