Commit Graph

1001 Commits

Author SHA1 Message Date
Christian Mazakas
59f4da0a47 Add init_type public typedefs 2022-10-20 14:58:38 -07:00
joaquintides
99ad45ed77 removed spurious consts 2022-10-20 20:02:55 +02:00
joaquintides
d93875a65e refactored value_from and insert overloads 2022-10-20 19:48:17 +02:00
Christian Mazakas
c1d5902911 Remove unnecessary value_type conversion by expanding overloads for value_from() 2022-10-20 08:43:42 -07:00
joaquintides
2f048ea6ac s/=/== 2022-10-19 17:50:21 +02:00
joaquintides
f3353c9be3 made sure source values are destroyed on copy-based rehash 2022-10-19 17:42:59 +02:00
joaquintides
8a1562cc78 implemented strong exception guarantee on rehash and single insert/emplace 2022-10-19 15:46:57 +02:00
joaquintides
8e42367a62 stylistic 2022-10-18 19:33:52 +02:00
joaquintides
d13a9dcaaf stylistic 2022-10-18 18:35:41 +02:00
joaquintides
64cb43ce32 protected against hash throwing in nosize_transfer_element 2022-10-18 17:42:22 +02:00
joaquintides
c9340390b0 completed previous commit 2022-10-18 17:28:57 +02:00
joaquintides
c76f44a8b3 hardened unchecked_rehash against exceptions thrown in the middle of value move construction 2022-10-18 16:18:05 +02:00
joaquintides
2290375515 replaced try blocks with scope guards 2022-10-18 16:14:29 +02:00
joaquintides
a200af610f refactored table's allocator-extended copy tor 2022-10-18 15:41:33 +02:00
joaquintides
2cb1d2bdf0 removed duplicated call to destroy 2022-10-18 15:25:54 +02:00
joaquintides
ac2bc8d615 made group initialization more straightforward 2022-10-18 12:17:40 +02:00
Christian Mazakas
27c386d47b Revert "used regular method for group resetting in clear"
This reverts commit eb5351b2c6.
2022-10-17 13:20:01 -07:00
Christian Mazakas
cf6f4023bb Make sure mask is properly cleared during rehash cleanup 2022-10-17 13:19:57 -07:00
joaquintides
6e4e5ead03 made Neon group15 compatible with A32 2022-10-17 18:43:48 +02:00
joaquintides
eb5351b2c6 used regular method for group resetting in clear 2022-10-17 18:21:41 +02:00
joaquintides
599dee204f micro-optimized table destruction 2022-10-17 18:00:15 +02:00
joaquintides
6b1d2f13da made clear reset overflow bytes 2022-10-17 17:51:43 +02:00
joaquintides
b0f6bb128f micro-optimized group loops 2022-10-17 09:43:22 +02:00
joaquintides
0389e0bc16 reverted 2022-10-16 22:17:53 +02:00
joaquintides
9246c30178 activated alternative impl of nosize_unchecked_emplace_at 2022-10-16 21:33:40 +02:00
joaquintides
bb6b57d1a4 typo 2022-10-16 17:45:17 +02:00
joaquintides
4fa61b98eb made rehash work with exact capacities, refactored capacity calculations 2022-10-16 10:11:47 +02:00
joaquintides
5535faf3cc introduced internal noshrink_reserve 2022-10-15 18:56:46 +02:00
joaquintides
ec389cdecd kept adding design/implementation notes 2022-10-15 18:33:59 +02:00
joaquintides
7c5bad60c6 reordered #includes 2022-10-15 13:14:32 +02:00
joaquintides
cc75360f4c kept adding design/implementation notes 2022-10-15 12:38:39 +02:00
joaquintides
3a0b752363 reorganized function definitions 2022-10-15 11:17:51 +02:00
joaquintides
63eaed843f stylistic 2022-10-15 11:15:29 +02:00
joaquintides
0b575dc983 s/const/constexpr in simde_mm_movemask_epi8 2022-10-15 11:14:36 +02:00
joaquintides
b8d4df2b5c stylistic 2022-10-15 11:07:48 +02:00
joaquintides
3bf28d7b61 stylistic 2022-10-15 11:06:15 +02:00
joaquintides
acc7f0ce5c refactored table_arrays dummy groups handling 2022-10-15 11:05:51 +02:00
joaquintides
1532e301d1 micro-optimized non-SIMD group15::match_impl 2022-10-15 10:51:28 +02:00
joaquintides
e663812f24 editorial 2022-10-15 10:18:47 +02:00
Christian Mazakas
e3c91ad812 Add erase_if tests 2022-10-14 13:37:26 -07:00
Christian Mazakas
d02d4094e6 Add merge_tests 2022-10-14 13:37:26 -07:00
joaquintides
9a03d1e904 added design and implementation notes 2022-10-14 20:00:24 +02:00
joaquintides
3683b43242 [skip CI] editorial 2022-10-14 13:52:37 +02:00
joaquintides
fc5c8c3669 removed unused typedef 2022-10-14 13:40:56 +02:00
joaquintides
df32d79e8a shut down VS warning 2022-10-14 13:30:49 +02:00
joaquintides
aefb5dd66a fixed unordered_flat_map::map_types::move 2022-10-14 10:40:07 +02:00
joaquintides
f85e04ef31 stylistic 2022-10-14 10:30:53 +02:00
joaquintides
8c58ffe546 made sure BOOST_[UN]LIKELY is passed a boolean everywhere 2022-10-14 10:16:47 +02:00
Christian Mazakas
87674d000b Update map_types to strip const from key, value parameters so that init_type is more efficient and extract() returns a const reference unconditionally 2022-10-13 11:39:18 -07:00
Christian Mazakas
6227ae49a7 Update find_impl() to ignore warnings about unsigned-signed casting when KeyEqual returns an unsinged integral type 2022-10-13 10:23:36 -07:00