BIND 10 #3321: Use a lowercase version of calculate() for further speedup in findNSEC3()

BIND 10 Development do-not-reply at isc.org
Tue Feb 4 04:22:51 UTC 2014


#3321: Use a lowercase version of calculate() for further speedup in findNSEC3()
-------------------------------------+-------------------------------------
            Reporter:  muks          |                        Owner:
                Type:  enhancement   |                       Status:  new
            Priority:  medium        |                    Milestone:  New
           Component:  data source   |  Tasks
            Keywords:                |                   Resolution:
           Sensitive:  0             |                 CVSS Scoring:
         Sub-Project:  DNS           |              Defect Severity:  N/A
Estimated Difficulty:  0             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
Description changed by muks:

Old description:

> `findNSEC3()` (in database and memory backends) uses a version of hash
> calculator that converts the label data to lowercase every time before
> calculating the hash. Because it does it repeatedly for sub-seqeunces of
> the same name, it can be optimized by converting the name to lowercase
> upfront and using a lowercase version of `calculate()` with it.

New description:

 `findNSEC3()` (in database and memory backends) uses a version of hash
 calculator that converts the label data to lowercase every time before
 calculating the hash. Because it does it repeatedly for sub-seqeunces of
 the same name, it can be optimized by converting the name to lowercase
 upfront and using a lowercase version of `calculate()` with it.

 (This ticket is an offshoot of #1894.)

--

-- 
Ticket URL: <http://bind10.isc.org/ticket/3321#comment:1>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list