Project

General

Profile

Actions

Task #1707

closed

Reduce implicit digest computation in Interest::matchesData

Added by Junxiao Shi almost 10 years ago. Updated over 6 years ago.

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

100%

Estimated time:
3.00 h

Description

Interest::matchesData always requests the full Name (including the implicit digest component) of the Data packet, which requires implicit digest computation.
This is unnecessary unless the Interest Name probably contains the implicit digest as its last component or the Interest probably excludes the implicit digest of the Data.
Most Interests do not appear to contain or exclude the implicit digest, so that we can optimize for the expected case.

This Task is to avoid requesting the full Name of the Data packet unless it's necessary.


Related issues 1 (0 open1 closed)

Related to NFD - Task #1706: Reduce implicit digest computation in ContentStoreClosedJunxiao Shi

Actions
Actions

Also available in: Atom PDF