package
0.0.0-20240814153542-64ae15e81c8c
Repository: https://github.com/iamsumit/go-dsa.git
Documentation: pkg.go.dev

# README

Benchmark Result

BenchmarkString-10                               		        0.3205 ns/op
BenchmarkStringIndex-10                          		        0.3134 ns/op
BenchmarkStringSlice-10                          		        0.3135 ns/op
BenchmarkStringConcatenation-10                  		        10.26 ns/op
BenchmarkStringConcatenationWithStringsPkg-10    		        27.99 ns/op
BenchmarkStringIterating-10                      		        6.358 ns/op
BenchmarkStringContains-10                       		        6.360 ns/op
BenchmarkStringSearch-10                         		        6.353 ns/op
BenchmarkStringPrefix-10                         		        2.253 ns/op
BenchmarkStringSuffix-10                         		        2.203 ns/op
BenchmarkStringReplace-10                        		        44.20 ns/op
BenchmarkStringReplaceAll-10                     		        44.26 ns/op
BenchmarkStringEqual-10                          		        1.879 ns/op
BenchmarkStringEqualFold-10                      		        9.748 ns/op
BenchmarkStringSplit-10                          		        42.71 ns/op
BenchmarkStringTrim-10                           		        3.659 ns/op
BenchmarkStringTrimPrefix-10                     		        2.189 ns/op