MCPcopy Create free account
hub / github.com/brimdata/super / appendString

Function appendString

sio/arrowio/reader.go:516–523  ·  view source on GitHub ↗
(b *scode.Builder, s string)

Source from the content-addressed store, hash-verified

514}
515
516func appendString(b *scode.Builder, s string) {
517 if s == "" {
518 b.Append(super.EncodeString(s))
519 } else {
520 // Avoid a call to runtime.stringtoslicebyte.
521 b.Append(*(*[]byte)(unsafe.Pointer(&s)))
522 }
523}

Callers 1

buildScodeMethod · 0.85

Calls 2

EncodeStringFunction · 0.92
AppendMethod · 0.45

Tested by

no test coverage detected