MCPcopy Create free account
hub / github.com/TheAlgorithms/Go / BenchmarkRLEncodeBytes

Function BenchmarkRLEncodeBytes

compression/rlecoding_test.go:151–155  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

149}
150
151func BenchmarkRLEncodeBytes(b *testing.B) {
152 for i := 0; i < b.N; i++ {
153 _ = compression.RLEncodebytes([]byte("WWWWWWWWWWWWBWWWWWWWWWWWWBBB"))
154 }
155}
156
157func BenchmarkRLEDecodeBytes(b *testing.B) {
158 for i := 0; i < b.N; i++ {

Callers

nothing calls this directly

Calls 1

RLEncodebytesFunction · 0.92

Tested by

no test coverage detected