Commit graph

324 commits

Author SHA1 Message Date
22a57f91db Huge refactor: use util::hash_table instead of std::unordered everywhere 2024-06-03 14:36:39 +03:00
e79266d7e2 Make util::hash_table::empty() const 2024-06-03 14:36:09 +03:00
cbd99d1c4d Make util::hash_table more heterogeneous-friendly 2024-06-03 14:35:58 +03:00
91c2dbca67 Fixed in util::hash_table clearing & destructor 2024-06-02 15:47:41 +03:00
44d30a6f8d Add fake percentile computation in util::statistics_lite based on normal distribution 2024-06-02 15:46:56 +03:00
100e2d6af8 Add missing includes in util/ebo 2024-06-02 15:32:26 +03:00
7333bcd922 Support removal from util::hash_table and add more hash table tests 2024-06-01 14:56:53 +03:00
c6f9fbd244 Add util::hash_all for creating a hash out of a bunch of objects 2024-05-21 13:21:01 +03:00
1538fa002f Support util::function constructing from & assigning to nullptr 2024-05-20 16:41:01 +03:00
c18a8ba2c5 Add implicit util::hstring(const char*) constructor 2024-04-26 13:13:53 +03:00
83f92ae9cb Add util::dsu 2024-03-18 15:06:07 +03:00
153cc87986 Add non-template access methods to util::hash_table 2024-03-12 20:29:29 +03:00
24a74b1208 Add util::any_set::insert 2024-03-11 23:34:42 +03:00
57aceed172 Remove duplicate hash_table::operator[] (how did this even happen?) 2024-03-03 02:14:41 +03:00
4ff36a61ba Add util::hash_map::operator[] 2024-02-28 17:06:48 +03:00
d1104f9aac Fix util::thread move assignment operator 2024-02-28 17:06:48 +03:00
e28a78166e Support edge ids in util::pathfinder 2024-02-07 22:01:42 +03:00
740fab84be Add copying and constructing from initializer_list for util::hash_table 2024-02-07 22:01:19 +03:00
929e8091dc Fix perfect forwarding in constructor args in util::pathfinder 2024-02-07 14:14:13 +03:00
e6f5fc17a4 Remove useless code in pathfinder & support retrieving full path 2024-01-29 19:16:17 +03:00
099a09e4d9 Use util::hash_map instead of std::unordered_map for pathfinder 2024-01-29 17:44:27 +03:00
64a6713b61 Implement util::hash_table::operator[] and at() 2024-01-29 17:44:11 +03:00
368d1edd71 Remove duplicate util::key_error exception, don't require the key to be convertible to string 2024-01-29 17:43:52 +03:00
00231ce3f6 Fix missing include 2024-01-02 18:24:13 +03:00
0998da6329 Add helper functions for constructing util::span 2024-01-02 16:04:26 +03:00
bcae6dde4e Revert "Make util::assertion_handler return void"
This reverts commit ac0f45d9f0.
2023-12-04 18:33:00 +03:00
ac0f45d9f0 Make util::assertion_handler return void 2023-12-04 11:37:44 +03:00
8c8ede7587 Add util::split(string, delim) 2023-10-01 01:19:31 +03:00
1d20bd5a17 Fix util::hash_table inserting non-const pair 2023-08-26 12:32:54 +03:00
24d1f1e5bf Add more hash_table tests 2023-08-24 18:50:48 +03:00
5a1db3097b Add util::hash_table::empty 2023-08-24 18:50:40 +03:00
d2604bc5ce Fix moving util::hash_table 2023-08-24 18:50:31 +03:00
809a0ec212 Make util::hash_table search heterogeneous & add hash_table::contains 2023-08-24 17:32:57 +03:00
183644d46f Add proper util::hash_table move constructor & assignment 2023-08-24 17:32:33 +03:00
8adfe7320b Fix util::hash_table::find 2023-08-24 17:32:17 +03:00
1e74639ff4 Fix util::hash_table_iterator::advance 2023-08-24 17:31:50 +03:00
a27378a3a7 Add util::hash_set/map with some tests 2023-08-24 16:24:47 +03:00
2d2362d85c More util::uuid functions: create from string, check for/convert to RFC 4122 2023-08-23 00:04:05 +03:00
8a7891d561 Make util::hash_combine and hash_sequence constexpr 2023-08-23 00:01:52 +03:00
190fd5e51e Fix creating util::span<T const> from an array of non-const T 2023-08-22 14:52:51 +03:00
79e90fb03c Fix util::dynamic_bitset operations 2023-08-22 14:52:28 +03:00
c35478ac88 Fix util::dynamic_bitset hash 2023-08-22 14:52:16 +03:00
981629cb74 Add util::dynamic_bitset 2023-08-19 15:21:08 +03:00
58215fedc1 Add util::unique_sequential_storage for storing an array of unique elements 2023-08-19 15:20:57 +03:00
f27a4fa26d Add util::uuid 2023-08-19 15:20:21 +03:00
3b00182f63 Fix weird stacktrace abi issue 2023-08-06 21:27:42 +03:00
f6377045c9 Add red color to stderr logging 2023-08-06 19:00:34 +03:00
85d7a0ca33 Huge refactor: use util::exception everywhere instead of std exceptions 2023-08-06 18:33:07 +03:00
128abc453e Add util::at helper 2023-08-06 12:55:31 +03:00
1c22892eec Add util::exception class that holds stacktrace information 2023-08-06 12:52:17 +03:00