golang
golang
Go strings manipulation: Optimize performance x100
Optimization, faster, better… these words are always what we search for on google to make our programs more performant. 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.