abseil / abseil/abseil-cpp

Zero copy Cord::Append(string_view)?

Open
#1,139 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C++
Stars
18.1k
Forks
3.2k
Avg merge
20h 36m
Merged PRs (30d)
1

Description

Cord::Append(string_view) copies the buffer into the cord. Can there be an api to append string_view without copy, like MakeCordFromExternal(string_view, optional releaser)? I'm currently using std::deque instead.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.