BIND 10 #2443: skip checks in "deserialize" constructor of LabelSequence when non debug mode
BIND 10 Development
do-not-reply at isc.org
Fri Nov 2 06:44:30 UTC 2012
#2443: skip checks in "deserialize" constructor of LabelSequence when non debug
mode
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner:
Type: task | UnAssigned
Priority: medium | Status: new
Component: libdns++ | Milestone: Next-
Sensitive: 0 | Sprint-Proposed
Sub-Project: DNS | Keywords:
Estimated Difficulty: 0 | Defect Severity: N/A
Total Hours: 0 | Feature Depending on Ticket:
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
I guess it will be faster if we omit the checks in this constructor
in the non-debug mode. Basically the data should be prepared by the
implementation itself so it should be safe except in the case of
internal bugs. Now the implementation is becoming stable, I think
we can try this optimization.
(We need to measure if it actually makes it faster).
--
Ticket URL: <http://bind10.isc.org/ticket/2443>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list