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 |
|
levlam
|
6319862890
|
Improve some emplace_back/push_back usage.
|
2022-10-27 12:53:53 +03:00 |
|
levlam
|
dcc928419f
|
Fix parse_url_query test.
|
2022-10-26 09:13:42 +03:00 |
|
levlam
|
60f094bdf2
|
Move ConcurrentHashMap test out of namespace td.
|
2022-10-21 13:18:58 +03:00 |
|
levlam
|
78ba8fa983
|
Add AsyncFileLog.
|
2022-10-09 13:04:57 +03:00 |
|
levlam
|
67aa7082d6
|
Add thread.get_id() test.
|
2022-10-04 23:00:02 +03:00 |
|
levlam
|
628b8901bc
|
Optimize logging to NULL on Windows. Fixes #2112.
It is possible to do only about 100 writes to NULL per second, which is about 8-80 times less than even performance of writes to a console app.
|
2022-10-03 15:11:23 +03:00 |
|
levlam
|
e37f3c17af
|
Fix warnings.
|
2022-09-17 22:54:21 +03:00 |
|
levlam
|
9bf5d57851
|
Add TD_HAVE_THREAD_AFFINITY macros.
|
2022-09-17 21:58:00 +03:00 |
|
levlam
|
9d5c151a3f
|
Use DWORD as thread::id on Windows.
|
2022-09-17 13:21:04 +03:00 |
|
levlam
|
0eddd8d405
|
Add thread::set_affinity_mask/get_affinity_mask.
|
2022-09-14 14:38:14 +03:00 |
|
levlam
|
59a5f15a41
|
Add WaitFreeHashSet.
|
2022-08-20 16:19:58 +03:00 |
|
levlam
|
88b52f1535
|
Use variable step in unicode_simple_category_jump_pos.
|
2022-08-19 18:56:36 +03:00 |
|
levlam
|
5c9d306208
|
Optimize get_unicode_simple_category with jump table.
|
2022-08-19 17:56:47 +03:00 |
|
levlam
|
96cca84a60
|
Remove source from next_utf8_unsafe.
|
2022-08-19 16:37:44 +03:00 |
|
levlam
|
9e4ae8997b
|
Fix WaitFreeHashMap::get_pointer.
|
2022-08-04 22:40:22 +03:00 |
|
levlam
|
6f46b50b4b
|
Add WaitFreeHashMap::foreach.
|
2022-08-04 15:08:18 +03:00 |
|
levlam
|
08dbc7d9f2
|
Add operator[] to WaitFreeHashMap.
|
2022-08-04 00:38:13 +03:00 |
|
levlam
|
2d705004a3
|
Add WaitFreeVector.
|
2022-08-02 14:27:18 +03:00 |
|
levlam
|
36a57c3584
|
Remove unneeded FlatHashTable copy constructors.
|
2022-07-23 11:13:17 +03:00 |
|
levlam
|
ac8af37872
|
Add size() and empty() to WaitFreeHashMap.
|
2022-07-20 13:35:32 +03:00 |
|
levlam
|
0bdd15fe9f
|
Fix warning.
|
2022-07-15 00:06:41 +03:00 |
|
levlam
|
abc9ed2cd9
|
Minor fixes.
|
2022-07-14 18:38:48 +03:00 |
|
Arseny Smirnov
|
f4c97b25ec
|
add Mutex wrapper around std::mutex and use it instead of SpinLock
|
2022-07-14 16:27:06 +04:00 |
|
levlam
|
33d1dfec0e
|
Add LargeFiles test.
|
2022-05-11 19:03:03 +03:00 |
|
levlam
|
5fda16c89e
|
Add WaitFreeHashMap.
|
2022-05-19 19:22:33 +03:00 |
|
levlam
|
e4bff687cf
|
Add td::remove_emoji_selectors test.
|
2022-05-12 19:18:14 +03:00 |
|
levlam
|
805e4d4a25
|
Add get_fitzpatrick_modifier test.
|
2022-05-12 19:11:17 +03:00 |
|
levlam
|
e6738efa3f
|
Add test for remove_emoji_modifiers.
|
2022-05-12 19:04:37 +03:00 |
|
levlam
|
6377a15d02
|
Move is_emoji test to separate file.
|
2022-05-12 18:45:25 +03:00 |
|
levlam
|
bb0908504b
|
Fix clean_filename test.
|
2022-05-12 13:10:19 +03:00 |
|
levlam
|
2ae689f54f
|
Add another pq_factorize test.
|
2022-03-21 20:43:28 +03:00 |
|
levlam
|
6e86faaa0f
|
Improve factorization tests.
|
2022-03-20 00:01:07 +03:00 |
|
levlam
|
eb89f8b35f
|
Minor include fixes.
|
2022-03-12 00:50:04 +03:00 |
|
levlam
|
acf30d3700
|
Fix HashTable::operator->.
|
2022-03-11 13:34:36 +03:00 |
|
levlam
|
2413b3fd37
|
Add unordered_map<string, ...> benchmark.
|
2022-03-09 23:23:44 +03:00 |
|
levlam
|
7f7344c363
|
Add separate FlatHashSet.h.
|
2022-03-09 23:01:10 +03:00 |
|
levlam
|
07bb129653
|
Move FlatHashTable implementation to FlatHashTable.h.
|
2022-03-09 18:03:56 +03:00 |
|