Project

General

Profile

Actions

Feature #3217

open

Avoid memory copy when creating lp::Packet from Fragment

Added by Alex Afanasyev over 8 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Base
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Adding a fragment into NDNLP packet copies the memory block.
This is a performance bottleneck as identified in #3567-42 benchmark report.

We should avoid this copy operation and use copy-on-write buffer semantics where possible.


Related issues 1 (1 open0 closed)

Blocked by ndn-cxx - Feature #3216: Copy-on-write buffer abstraction and refactor BlockNew

Actions
Actions

Also available in: Atom PDF