parseBytesCopy is to benchmark not using unsafe.
(b []byte)
| 671 | |
| 672 | // parseBytesCopy is to benchmark not using unsafe. |
| 673 | func parseBytesCopy(b []byte) (UUID, error) { |
| 674 | return Parse(string(b)) |
| 675 | } |
| 676 | |
| 677 | func BenchmarkParseBytesCopy(b *testing.B) { |
| 678 | for i := 0; i < b.N; i++ { |
no test coverage detected