Commit Graph

1966 Commits

Author SHA1 Message Date
joaquintides
cefe5965be micro-optimized table_iterator ctor to see if it impacts performance 2022-09-28 19:52:22 +02:00
joaquintides
2a9f47ea2c reverted 2022-09-28 19:23:39 +02:00
joaquintides
85324f9a43 made microchange in find_impl to see if it impacts performance 2022-09-28 19:13:26 +02:00
joaquintides
2e776ad155 fixed clear 2022-09-28 17:53:58 +02:00
joaquintides
f6544f69ca fixed macro usage 2022-09-28 17:26:12 +02:00
joaquintides
c61222403e fixed using placement 2022-09-28 17:24:44 +02:00
joaquintides
c487f24611 honored select_on_container_copy_construction 2022-09-28 13:55:44 +02:00
joaquintides
8dcd40c8f3 harmonized adjust_hash interface 2022-09-28 13:46:25 +02:00
joaquintides
0ea2cb5a7a refactored dummy_groups to avoid explicit array initialization 2022-09-28 11:47:23 +02:00
joaquintides
5a4a2f3ffd added Neon support 2022-09-28 11:21:44 +02:00
joaquintides
5293b328b7 made emplace_impl rehashing more robust 2022-09-28 10:05:45 +02:00
joaquintides
2889aab226 made dependency on size_policy minimum size explicit 2022-09-28 09:54:44 +02:00
joaquintides
7a1a25991f removed unnecessary check in max_load 2022-09-28 09:45:55 +02:00
joaquintides
43f8e5e933 avoided being too smart in new_arrays's memory initialization 2022-09-28 09:42:37 +02:00
joaquintides
f4940d9344 avoided ugly casts in table_iterator::increment 2022-09-28 09:40:05 +02:00
joaquintides
701cdff982 refactored dummy_groups 2022-09-28 09:36:52 +02:00
Christian Mazakas
450c915284 Get insert_tests passing under sanitizers 2022-09-27 14:25:57 -07:00
Christian Mazakas
892e437428 Restructure insert_tests invocations 2022-09-27 10:34:04 -07:00
Christian Mazakas
8905157c1e Update uint64 benchmarks to profile the new container, its internal table and the rc15 release candidate 2022-09-27 10:30:39 -07:00
Christian Mazakas
2eb57995dd Add initial find() impl for benchmarks 2022-09-27 10:30:14 -07:00
Christian Mazakas
b64b88eb65 Add intial erase() impl for benchmarks 2022-09-27 10:28:50 -07:00
Christian Mazakas
3da4b6411c Add rvalue overload of insert() for flat_map 2022-09-27 10:28:10 -07:00
Christian Mazakas
e115634812 Fix bug in equal_range() for unordered_flat_map 2022-09-27 10:27:41 -07:00
Christian Mazakas
fc0f354df4 Switch from leading underscore to trailing underscore for shadowed variables 2022-09-27 08:19:01 -07:00
Christian Mazakas
ba5cbd5ca6 Add simple initial draft of unordered_flat_map 2022-09-26 15:18:13 -07:00
Christian Mazakas
505b060637 Update insert_tests to handle new open-addressing table implementation 2022-09-26 15:17:54 -07:00
Christian Mazakas
12b9bd0a6d Fix warnings in internal foa table about float/size_t conversions 2022-09-26 15:17:21 -07:00
Christian Mazakas
e8715ffb96 Update internal foa table implementation to use to_address when Allocators use fancy pointers 2022-09-26 15:16:52 -07:00
Christian Mazakas
5d34b137a3 Fix shadowing warnings in foa.hpp 2022-09-26 11:40:47 -07:00
Christian Mazakas
ad352a6703 Fix cast warning in mark_overflow() 2022-09-26 10:27:22 -07:00
Christian Mazakas
7d69d18473 Initial commit of foa.hpp 2022-09-26 10:12:05 -07:00
joaquintides
668abe4b0a Merge pull request #146 from cmazakas/feature/rehash-doc-updates
Rehash Doc Updates
before-flat-map
2022-09-15 19:33:54 +02:00
Christian Mazakas
5dcccfda3b Update docs for rehash/reserve for unordered_multimap 2022-09-15 07:59:53 -07:00
Christian Mazakas
56b271850a Update docs for rehash/reserve for unordered_multiset 2022-09-15 07:59:53 -07:00
Christian Mazakas
d338e94267 Update docs for rehash/reserve for unordered_set 2022-09-15 07:59:53 -07:00
Christian Mazakas
42abfe3c7d Update docs for rehash/reserve for unordered_map 2022-09-15 07:59:53 -07:00
joaquintides
6ef6540378 Merge pull request #144 from cmazakas/feature/rehashing-conformity
Rehashing Conformity
2022-09-13 23:53:15 +02:00
Christian Mazakas
9a9b8e0a7b Update rehashing implementation to better reflect STL conformance 2022-09-13 12:33:21 -07:00
Christian Mazakas
5ad86f559f Clean up implementation of recalculate_max_load() to avoid std::floor/std::ceil 2022-09-13 12:33:21 -07:00
Christian Mazakas
a8b0e19a33 Update rehashing tests to better stress test them for conformity with libc++ and other STL implementations 2022-09-13 12:33:21 -07:00
joaquintides
2b61fbb8df Merge pull request #145 from cmazakas/bugfix/noexcept-move-assign
Fix move assign noexcept violation/perf regression
2022-09-13 20:46:38 +02:00
Christian Mazakas
dea6ce164c Remove erroneous unconditional call to reserve() from move_assign() when pocma is false 2022-09-12 13:16:45 -07:00
Christian Mazakas
9ebb705e75 Update noexcept_tests to cover both values of POCMA and to also test move-assigning into larger and smaller hash tables 2022-09-12 13:16:45 -07:00
Christian Mazakas
010dfa52e3 Merge pull request #143 from cmazakas/feature/no-alloc-default-construction
Update internal table to no longer allocate on default constructions and when the bucket count is 0
2022-08-31 09:21:13 -07:00
Christian Mazakas
db9d9d1f77 Update implementation to support a default-constructible table and grouped_bucket_array 2022-08-30 15:20:31 -07:00
Christian Mazakas
6f342bf119 Set default_bucket_count to zero 2022-08-30 15:20:31 -07:00
Christian Mazakas
48765e82e0 Update tests to account for a default-constructed container having no buckets 2022-08-30 15:20:31 -07:00
Peter Dimov
f141cd1dea Merge pull request #141 from cmazakas/fix/appveyor-timeout
Split 64-bit mingw appveyor job into two to help prevent timeouts
2022-08-20 11:21:40 +03:00
Christian Mazakas
6258856d2b Split 64-bit mingw appveyor job into two to help prevent timeouts 2022-08-19 13:31:02 -07:00
Peter Dimov
c93ea188f7 Merge pull request #142 from sdarwin/droneconfig
drone.jsonnet update
2022-08-19 23:15:26 +03:00