BIND 10 trac1603, created. 7eda3c0ee0795ed21cb4fb44ff20f905de1cf800 [1603] proposed update to labelsequence: use internal loop, not strncasecmp. according to benchmark it can improve the renderer performance 17% more.

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Mar 7 00:25:02 UTC 2012


The branch, trac1603 has been created
        at  7eda3c0ee0795ed21cb4fb44ff20f905de1cf800 (commit)

- Log -----------------------------------------------------------------
commit 7eda3c0ee0795ed21cb4fb44ff20f905de1cf800
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Tue Mar 6 16:05:22 2012 -0800

    [1603] proposed update to labelsequence: use internal loop, not strncasecmp.
    according to benchmark it can improve the renderer performance 17% more.

commit beed5d700bd2ef38453f3a60e1bc2d4785c3bc68
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Tue Mar 6 15:00:07 2012 -0800

    [1603] added a new microbenchmark test for MessageRenderer implementations.
    It compares the old and new versions, and one "dumb" renderer (which doesn't
    do any compression).

commit f0b94ec2fb650ddf64d8d51dabb427056465747a
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Tue Mar 6 14:55:56 2012 -0800

    [1603] updated the behavior of setCompressMode(): now disallow it in rendering.
    the new implementation doesn't allow such flexibility anymore (as the
    hash value would change).  added comment about that, and updated the test
    accordingly.

commit 1296fe25ed708996f9aca9d3ae063dd80d444d9d
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Tue Mar 6 14:42:58 2012 -0800

    [1603] revised the MessageRenderer w/ a hash table and LabelSequence.
    a benchmark indicated it's several times faster than the previous
    implementation.

commit ba84010ff254a3159eaac71db89a6c128d163736
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Tue Mar 6 14:40:30 2012 -0800

    [1603] updated Makefile for newly added name_internal.h

commit d31372d7b6961c777c325350a4f415988a567715
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Tue Mar 6 14:19:01 2012 -0800

    [1603] added note about default constructor of LabelSequence.
    also make sure member variables are initialized explicitly.

commit 2903127df129af292b510a1c423e274ddc91ed2b
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Tue Mar 6 14:06:40 2012 -0800

    [1603] implemented LabelSequence::getHash(), which is needed for new renderer.
    maptolower hidden in name.cc is now exposed to the LabelSequence implementation
    in a "private" namespace.

commit fc609f2e7f47c724e2f7d713f4c3c41616751e76
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Mon Mar 5 16:16:57 2012 -0800

    [1603] cleanup: put labelsequence tests in an unnamed namespace.

commit 681c927f0d8150bbf3f71fa8c689b7712b834aa7
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Mon Mar 5 15:58:34 2012 -0800

    [1603] corrected the meaning of case-sensitive in LabelSequence::equals (#1754)
    we could wait for #1754, but that would make MessageRenderer look confusing
    meanwhile.  the fix is small, so I decided do it now.

commit 03f1a5ea8f070b8b92704fc780cb858f6af04da8
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Mon Mar 5 15:51:41 2012 -0800

    [1603] add an extension to LableSequence: getDataLength() method.
    in name compression we need this info (and in some cases we don't need
    the data itself).

commit bfb21aba64298f219218cf58ae9b6024c1ed7005
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Mon Mar 5 14:44:25 2012 -0800

    [1603] minor style fixes to labelsequence.

commit dc0963ad902d475f08d4f1bebab4e5114c013922
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Fri Mar 2 16:39:41 2012 -0800

    [1603] copy the current MessageRenderer files to "old*" for comparison.

-----------------------------------------------------------------------



More information about the bind10-changes mailing list