GitHub user davisp opened a pull request:

    https://github.com/apache/couchdb-couch/pull/217

    Remove use of filename:rootname/1

    It turns out that filename:rootname/1 is fairly expensive. Given that we
    call it millions of times when doing database name validation it adds up
    significantly. This is a fairly easy optimization to just use binary
    matching instead.
    
    COUCHDB-3251

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloudant/couchdb-couch 
3251-remove-filename-rootname

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-couch/pull/217.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #217
    
----
commit e8a97f52b0cf0d0408d5a4ea625644684edaa6f5
Author: Paul J. Davis <[email protected]>
Date:   2016-12-06T19:37:45Z

    Remove use of filename:rootname/1
    
    It turns out that filename:rootname/1 is fairly expensive. Given that we
    call it millions of times when doing database name validation it adds up
    significantly. This is a fairly easy optimization to just use binary
    matching instead.
    
    COUCHDB-3251

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to