abseil / abseil/abseil-cpp

Zero copy Cord::Append(string_view)?

未關閉
#1,139 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
question
主要語言
C++
星號
18.1k
分支
3.2k
平均合併
20 小時 36 分鐘
30 天內合併 PR
1

描述

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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。