MCPcopy Index your code
hub / github.com/a8m/djson / AllocString

Method AllocString

decode.go:61–64  ·  view source on GitHub ↗

AllocString pre-allocates a string version of the data before starting to decode the data. It is used to make the decode operation faster(see below) by doing one allocation operation for string conversion(from bytes), and then uses "slicing" to create non-escaped strings in the "Decoder.string" meth

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

Calls

no outgoing calls

Tested by 2