Commit Graph

337 Commits

Author SHA1 Message Date
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
605a3af4b2 Add and use td::any_of. 2023-10-21 20:41:31 +03:00
levlam
16cec9c2fb Add td::add_to_top. 2023-10-01 20:59:29 +03:00
levlam
40378be487 Delete deprecated JsonObject accessors. 2023-08-18 15:06:16 +03:00
levlam
f64268c50d Don't ignore value returned by json_string_decode. 2023-08-09 13:46:49 +03:00
levlam
7887bbdb35 Optimize json_string_skip. 2023-08-08 16:26:28 +03:00
levlam
23267aff5d Add one more JSON string decode benchmark. 2023-08-08 16:11:38 +03:00
levlam
b5fbac9643 Add test for json_string_decode. 2023-08-08 16:02:49 +03:00
levlam
c8aa729905 Add json_string_decode benchmark. 2023-08-08 03:13:43 +03:00
levlam
830da27abf Minor improvements. 2023-08-05 15:31:42 +03:00
levlam
a5a408290e Add field getters to JsonObject class. 2023-07-31 16:30:39 +03:00
levlam
44d4fcfa07 Add test for get_json_object_*_field. 2023-07-31 15:54:36 +03:00
levlam
b914b28bf0 Use FlatHashMap instead of unordered_map in ChainScheduler. 2023-07-27 14:18:39 +03:00
levlam
aa59e4cbd7 Avoid big memory consumption in ConcurrentHashMap benchmark with n = 1 << 27 when the benchmark ends very fast. 2023-07-26 20:45:52 +03:00
levlam
cfe47b6cc2 Disable MpmcSleepyWaiter_stress_one_one test. 2023-07-26 19:45:10 +03:00
levlam
69c2315c10 Add zero_encode benchamrk. 2023-07-26 14:40:36 +03:00
levlam
4c2859b85c Add test for zero_encode. 2023-07-26 14:21:27 +03:00
levlam
328cf83c4d Allow all ZWJ sequence as valid emoji. 2023-05-29 17:15:48 +03:00
levlam
348a209ab7 Fix includes. 2023-05-18 14:33:00 +03:00
levlam
46b6ba578f Add FlatHashSet initialization test. 2023-05-18 13:51:27 +03:00
levlam
bd480941a1 Fix AsyncFileLog test. 2023-05-18 13:09:59 +03:00
levlam
7bea39b6fa Improve is_emoji. 2023-05-17 20:04:12 +03:00
levlam
6f94c363f7 Add Enumerator benchmark. 2023-05-10 14:35:21 +03:00
levlam
c0911577f7 Use empty name for unused move constructor/assignment parameter. 2023-05-05 13:51:19 +03:00
levlam
7e60c440ff Delete temporary files after test finish. 2023-04-23 02:01:51 +03:00
levlam
e7242b1188 Fix includes. 2023-03-06 20:36:56 +03:00
levlam
22fdc0258b Use "receive"/"have"/"loaded" instead of "got" and other log message improvements. 2023-02-26 14:22:31 +03:00
levlam
5ed796cd57 Improve CRC spelling. 2023-02-03 08:27:26 +03:00
levlam
0adcac246a Use explicit as_mutable_slice to get MutableSlice. 2023-02-02 17:40:47 +03:00
levlam
4d70d1e920 Minor improvements. 2023-01-31 13:33:30 +03:00
levlam
9555bfc16c Add test for parse_url. 2023-01-30 15:29:01 +03:00
levlam
587a882270 Don't remove emoji selectors in search_stickers. 2023-01-23 22:10:23 +03:00
levlam
201af22ef2 Add unique_value_ptr. 2023-01-22 23:36:30 +03:00
levlam
5b451f7e11 Allow redundant 0xFE0F after emoji. 2023-01-18 18:22:41 +03:00
levlam
ad8f0c4146 Improve some spelling. 2023-01-16 12:59:43 +03:00
levlam
3573990d52 Support symbolic links in walk_path. 2023-01-04 17:25:30 +03:00
levlam
8df67f0c3a Add Stat.is_symbolic_link_. 2023-01-04 16:39:33 +03:00
levlam
8b763bedaf Move random_shuffle to tests.h. 2023-01-02 14:29:03 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
d2060a2eb3 Improve log messages with time. 2022-12-11 01:32:46 +03:00
levlam
3ec53c8d78 Fix compilation error. 2022-11-24 15:25:15 +03:00
levlam
af05db3f15 Add td::Hash and use it everywhere instead of unusable std::hash. 2022-11-23 19:37:32 +03:00
levlam
8a73d14c0f Minor FloodControlFast improvements. 2022-11-23 00:45:17 +03:00
Arseny Smirnov
b9210f7f6d Rewrite FoodControlFast: now it uses a bucket logic 2022-11-22 15:59:01 +01:00
levlam
f8e2af3f59 Rename size() to calc_size() for WaitFree hash tables. 2022-11-18 13:16:24 +03:00
levlam
35a9a4b785 Make WaitFreeHashSet recursive. 2022-11-18 13:08:04 +03:00
levlam
e7b7217256 Make WaitFreeHashMap recursive. 2022-11-18 12:53:26 +03:00
levlam
97f14fb6a9 Fix remove_emoji_modifiers. 2022-11-11 22:20:38 +03:00
levlam
d1afd1c3b7 Minor improvements. 2022-11-02 19:51:41 +03:00
levlam
a3baecab16 Improve field names. 2022-10-27 13:06:12 +03:00