commit | e8a97f52b0cf0d0408d5a4ea625644684edaa6f5 | [log] [tgz] |
---|---|---|
author | Paul J. Davis <paul.joseph.davis@gmail.com> | Tue Dec 06 13:37:45 2016 -0600 |
committer | Paul J. Davis <paul.joseph.davis@gmail.com> | Tue Dec 06 13:37:45 2016 -0600 |
tree | 2b28c9aa593420334075683ee7d280d58664fb36 | |
parent | 1659fda5dd1808f55946a637fc26c73913b57e96 [diff] |
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