commit | 576639133af7bd202a285117818a5575d356e3be | [log] [tgz] |
---|---|---|
author | Eric Fiselier <eric@efcs.ca> | Mon Jul 11 22:02:02 2016 +0000 |
committer | Eric Fiselier <eric@efcs.ca> | Mon Jul 11 22:02:02 2016 +0000 |
tree | d9fc180f1e2042c24e2329f75ad427ffd9d350da | |
parent | 51d7e8e38165ba367882161b9b7f88e7255c65aa [diff] |
Don't compute modulus of hash if it is smaller than the bucket count. This cleans up a previous optimization attempt in hash, and results in additional performance improvements over that previous attempt. Additionally this new optimization does not hinder the power of 2 bucket count optimization. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@275114 91177308-0d34-0410-b5e6-96231b3b80d8