abseil / abseil/abseil-cpp

Zero copy Cord::Append(string_view)?

Đang mở
#1,139 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
question
Ngôn ngữ chính
C++
Star
18.1k
Fork
3.2k
Merge trung bình
20 giờ 36 phút
Pull request đã merge (30 ngày)
1

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.