llvm-project/libcxx
Eric Fiselier 118cb4180f 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.

llvm-svn: 275114
2016-07-11 22:02:02 +00:00
..
benchmarks Add unordered_map::insert benchmark test and rename file 2016-07-02 05:30:54 +00:00
cmake [CMake] Cleanup uses of USES_TERMINAL 2016-06-08 22:20:28 +00:00
docs Add Filesystem TS -- Complete 2016-06-17 19:46:40 +00:00
include Don't compute modulus of hash if it is smaller than the bucket count. 2016-07-11 22:02:02 +00:00
lib Add Filesystem TS -- Complete 2016-06-17 19:46:40 +00:00
src Hide some internal symbols for memory resource. 2016-07-11 19:22:09 +00:00
test Always use the allocator to construct/destruct elements of a deque/vector. Fixes PR#28412. Thanks to Jonathan Wakely for the report. 2016-07-11 21:38:08 +00:00
utils Add more missing license headers 2016-01-19 21:58:49 +00:00
www Mark issues 2550, 2551, 2555, 2685, 2698 as complete. These issues are wording clarifications; no code changes required. 2016-06-30 18:05:19 +00:00
.arcconfig Update Arcanist config to point to reviews.llvm.org 2014-06-10 18:29:36 +00:00
.gitignore [libc++] Refactor test components into modules. 2015-01-09 18:03:29 +00:00
CMakeLists.txt Add -Wno-covered-switch-default while compiling libc++ 2016-06-18 18:55:18 +00:00
CREDITS.TXT Add entry to CREDITS.TXT for propagate_const 2016-06-19 19:36:28 +00:00
LICENSE.TXT Update copyright year to 2016. 2016-03-30 22:39:53 +00:00
TODO.TXT Test commit to see if libcxx.llvm.org/docs builds 2015-09-04 22:57:00 +00:00