Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkUnquoteHard (0.19 sec)

  1. src/strconv/quote_test.go

    	}
    }
    
    func BenchmarkUnquoteEasy(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		Unquote(`"Give me a rock, paper and scissors and I will move the world."`)
    	}
    }
    
    func BenchmarkUnquoteHard(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		Unquote(`"\x47ive me a \x72ock, \x70aper and \x73cissors and \x49 will move the world."`)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 9.6K bytes
    - Viewed (0)
Back to top