Commit Graph

890 Commits

Author SHA1 Message Date
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
Christian Mazakas
1c14bc1215 Use explicit cast for when KeyEqual returns a size_t type 2022-10-12 13:39:43 -07:00
Christian Mazakas
3f9bd00f01 Add compile_map tests 2022-10-12 13:37:12 -07:00
Christian Mazakas
05b3025c0e Fix regression in how the table_iterator defines its reference type 2022-10-12 08:58:32 -07:00
joaquintides
becd166e66 implemented erase_if 2022-10-12 15:34:05 +02:00
joaquintides
006f62047b reverted 334dcb91ac 2022-10-12 12:46:47 +02:00
joaquintides
334dcb91ac removed unused typedef 2022-10-12 11:20:37 +02:00
joaquintides
df7792040c implemented merge 2022-10-12 11:18:05 +02:00
joaquintides
57ea45cb8f overloaded for_all_elements 2022-10-12 10:31:52 +02:00
Christian Mazakas
4a8d687778 Add compile_set tests with stub for merge() 2022-10-11 15:21:10 -07:00
joaquintides
35118b5a71 reverted 2022-10-11 20:35:59 +02:00
joaquintides
858737fd88 s/move/forward in brace-init insert 2022-10-11 17:55:55 +02:00