MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / operator()

Method operator()

scripts/bench_unicode.cpp:56–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 }
55
56 inline call_result_t operator()(std::size_t token_index) const noexcept {
57 return operator()(env.tokens[token_index]);
58 }
59
60 inline call_result_t operator()(std::string_view buffer) const noexcept {
61 // Ensure buffer is large enough

Callers

nothing calls this directly

Calls 5

do_not_optimizeFunction · 0.85
resizeMethod · 0.80
sz_bytesumFunction · 0.50
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected