levlam
|
f0a2ccd0fb
|
Remove value_type from SetNode.
|
2022-02-21 02:22:01 +03:00 |
|
levlam
|
9e8b2489bd
|
Keep the first value from initializer_list.
|
2022-02-21 00:33:19 +03:00 |
|
levlam
|
77ccc13181
|
Add Map/SetNode::copy_from.
|
2022-02-20 23:03:34 +03:00 |
|
levlam
|
983cc2c45c
|
Various hash table improvements.
|
2022-02-19 11:34:43 +03:00 |
|
levlam
|
94289c0c9e
|
Fix SCOPE_EXIT redefinition.
|
2022-02-18 23:25:23 +03:00 |
|
levlam
|
ae3854d97c
|
Various fixes.
|
2022-02-18 23:04:25 +03:00 |
|
levlam
|
b5cf85d6e2
|
Fix compilation error.
|
2022-02-18 15:15:58 +03:00 |
|
Arseny Smirnov
|
952ac3ed7c
|
FlatHashMap: add MaskSse2 to benchmark
|
2022-02-18 00:48:33 +01:00 |
|
Arseny Smirnov
|
39934a7f9e
|
FlatHashMap: sse2 support
|
2022-02-18 00:47:58 +01:00 |
|
Arseny Smirnov
|
a356cc7e3d
|
FlatHashMap: optimizations
|
2022-02-18 00:30:14 +01:00 |
|
Arseny Smirnov
|
5ff92065bf
|
FlatHashMap: fixes for portability
|
2022-02-17 20:22:46 +01:00 |
|
Arseny Smirnov
|
34a69e3133
|
FlatHashMap: add implementation with chunks
|
2022-02-17 19:40:18 +01:00 |
|
levlam
|
512c0cd3c2
|
Fix formatting.
|
2022-02-12 00:48:35 +03:00 |
|
Arseny Smirnov
|
a11d37dd4c
|
FlatHashMap: fix CE
|
2022-02-11 18:11:17 +01:00 |
|
Arseny Smirnov
|
ecceb51881
|
FlatHashSet
|
2022-02-11 17:41:40 +01:00 |
|
levlam
|
15f27455c5
|
Move other big classes inside FlatHashMap to unique_ptr.
|
2022-02-11 19:27:32 +03:00 |
|
levlam
|
5b4bea1fef
|
Add HashMap build time benchmark.
|
2022-02-11 14:46:30 +03:00 |
|
levlam
|
6ae2096d68
|
Fix HashSet benchmark.
|
2022-02-11 11:26:58 +03:00 |
|
Arseny Smirnov
|
1a3adc3ee7
|
FlatHashTable: bugfix
|
2022-02-10 22:44:40 +01:00 |
|
Arseny Smirnov
|
500c20f7ea
|
FlatHashMap: more benchmarks
|
2022-02-10 22:34:01 +01:00 |
|
levlam
|
b71e330396
|
Fix tests.
|
2022-02-11 00:11:02 +03:00 |
|
levlam
|
b8ab910b81
|
Various improvements.
|
2022-02-10 23:01:28 +03:00 |
|
Arseny Smirnov
|
987e875520
|
FlatHashMap: support mem_stat->rss in memory benchmark; move memory benchmark in other folder, fix build.
|
2022-02-10 18:33:23 +01:00 |
|
Arseny Smirnov
|
6bb365567b
|
FlatHashMap: improve memory benchmark
|
2022-02-10 18:29:52 +01:00 |
|
levlam
|
1a28bbd00c
|
Remove redundant checks from calc_bucket.
|
2022-02-10 18:30:03 +03:00 |
|
Arseny Smirnov
|
10c59db842
|
FlatHashMap: simple benchmark for memory usage
|
2022-02-10 14:37:19 +01:00 |
|
Arseny Smirnov
|
f4b3a09646
|
FlatHashMap: shrink table if too sparse
|
2022-02-10 14:37:19 +01:00 |
|
levlam
|
9e6d106585
|
Minor improvements.
|
2022-02-10 11:55:32 +03:00 |
|
Arseny Smirnov
|
129d12566d
|
FlatHashMap: add tests
|
2022-02-09 22:22:51 +01:00 |
|
Arseny Smirnov
|
8d8896d7f0
|
FlatHashMap: remove_if; generic td::table_remove_if
|
2022-02-09 22:22:51 +01:00 |
|
Arseny Smirnov
|
87354498e4
|
cmake: use SYSTEM after PUBLIC or PRIVATE in target_link_libraries to avoid error
|
2022-02-09 22:22:51 +01:00 |
|
levlam
|
967cb9e8a5
|
Fix compilation error.
|
2022-02-09 18:41:38 +03:00 |
|
levlam
|
22ed61e1b7
|
More FlatHashMap usages.
|
2022-02-09 17:05:27 +03:00 |
|
levlam
|
b403a3793d
|
Explicitly check for empty key in FlatHashImpl::find.
|
2022-02-09 15:41:23 +03:00 |
|
levlam
|
4eacaa3ebd
|
FlatHashMap improvements.
|
2022-02-09 03:08:18 +03:00 |
|
Arseny Smirnov
|
d5e163cd9d
|
FlatHashMap: support initializer_list
|
2022-02-08 20:47:10 +01:00 |
|
Arseny Smirnov
|
d5db554b70
|
FlatHashMap: benchmark
|
2022-02-08 19:38:09 +01:00 |
|
Arseny Smirnov
|
d0cd7a8926
|
FlatHashMap: inline with_node usages
|
2022-02-08 19:38:09 +01:00 |
|
Arseny Smirnov
|
5d074a4b18
|
FlatHashMap: some optimizations
|
2022-02-08 19:38:09 +01:00 |
|
Arseny Smirnov
|
e3a5b29d20
|
FlatHashMap: use same code for const and non-const methods
|
2022-02-08 19:38:09 +01:00 |
|
levlam
|
b7a51bd9d5
|
FlatHashMap improvements.
|
2022-02-08 02:26:07 +03:00 |
|
levlam
|
5d1e50fd8d
|
Remove wrongly used EqualT in FlatHashMap.
|
2022-02-08 01:06:57 +03:00 |
|
levlam
|
b62ced6d95
|
Minor improvements.
|
2022-02-08 00:42:53 +03:00 |
|
levlam
|
bcc2adeb47
|
Fix includes and formatting.
|
2022-02-08 00:04:34 +03:00 |
|
Arseny Smirnov
|
86bceb2972
|
td: replace most of std::unordered_map usages to td::FlatHashMap
|
2022-02-07 21:21:31 +01:00 |
|
Arseny Smirnov
|
088ce02832
|
tdutils: FlatHashMap
|
2022-02-07 21:21:31 +01:00 |
|
levlam
|
0b33522821
|
Improve ChainScheduler.
|
2022-02-03 22:01:09 +03:00 |
|
levlam
|
950876b496
|
Minor improvements.
|
2022-02-01 18:25:02 +03:00 |
|
Arseny Smirnov
|
7c9d698023
|
SequenceDispatcher: bugfixes
|
2022-02-01 17:05:23 +03:00 |
|
Arseny Smirnov
|
da4d6318fc
|
SequenceDispatcher: distribute food limits to net queries in the same chain and with the same tl_constructor
|
2022-02-01 16:06:48 +03:00 |
|
Arseny Smirnov
|
24766fdad8
|
ChainScheduler: pass new test
|
2022-02-01 16:04:58 +03:00 |
|
Arseny Smirnov
|
b4396f18c6
|
ChainScheduler: tests and optimizations
|
2022-02-01 16:02:35 +03:00 |
|
levlam
|
c783115974
|
Fix warnings.
|
2022-01-31 22:00:00 +03:00 |
|
levlam
|
31e7447158
|
Disable is_emoji implementation is there is no zlib.
|
2022-01-31 20:20:31 +03:00 |
|
levlam
|
aceb3698f6
|
Remove unused span helpers without verbs in their name.
|
2022-01-31 16:27:24 +03:00 |
|
levlam
|
b1b945e239
|
Minor fixes.
|
2022-01-31 15:56:44 +03:00 |
|
levlam
|
e7406475ff
|
Fix compilation errors.
|
2022-01-28 19:12:20 +03:00 |
|
Arseny Smirnov
|
c202974d47
|
SequenceDispatcher: set error to all NetQueries at tear_down
|
2022-01-28 17:43:22 +03:00 |
|
Arseny Smirnov
|
355c2950ad
|
ChainScheduler - new implementation of SequenceDispatcher
|
2022-01-28 15:50:59 +03:00 |
|
levlam
|
4254320148
|
Add consts for emoji count and the maximum emoji length.
|
2022-01-14 16:30:50 +03:00 |
|
levlam
|
b007cc7a2c
|
Use compressed base64-encoded list of emoji instead of emoji themselves to reduce binary size and stack usage.
|
2022-01-13 23:43:22 +03:00 |
|
KnorpelSenf
|
789b9c0a55
|
Fix much typos
|
2022-01-25 16:07:36 +03:00 |
|
levlam
|
8085779cdc
|
Update copyright year.
|
2022-01-01 03:35:39 +03:00 |
|
levlam
|
26d2ee649d
|
Add some missing new lines at the end of files.
|
2021-12-27 14:03:50 +03:00 |
|
levlam
|
5f965a1ea4
|
Don't try to use "fr-FR" locale, because check for its existence is
broken with musl: https://www.openwall.com/lists/musl/2017/11/08/1.
|
2021-12-24 15:12:14 +03:00 |
|
levlam
|
ff6615e734
|
Fix some misprints.
|
2021-12-23 14:18:32 +03:00 |
|
levlam
|
eff87996a5
|
Match animated emoji without selectors.
|
2021-12-22 13:40:20 +03:00 |
|
levlam
|
957670aa0d
|
Immediately close non-connected sockets.
|
2021-12-16 23:38:44 +03:00 |
|
levlam
|
01b02e9028
|
Remove deprecated EM_LOG_DEMANGLE flag.
|
2021-12-16 19:19:32 +03:00 |
|
levlam
|
1782b8e478
|
Minor improvements.
|
2021-12-16 16:16:34 +03:00 |
|
levlam
|
1a98ac8004
|
Don't use min/max as variable names.
|
2021-12-15 20:55:03 +03:00 |
|
levlam
|
ca8a8ad358
|
Remove ThreadSafeCounter usage.
|
2021-12-10 13:31:17 +03:00 |
|
levlam
|
1a9c6fa51c
|
Add more logging.
|
2021-12-10 13:27:24 +03:00 |
|
levlam
|
106797f7f0
|
Improve private field names.
|
2021-12-10 13:07:55 +03:00 |
|
levlam
|
1bb9b7dfa9
|
Update clang-format to 13.0.1.
|
2021-12-10 00:27:13 +03:00 |
|
levlam
|
a28b5f2fbb
|
Remove explicit verbosity level changes in tests.
|
2021-11-21 21:41:11 +03:00 |
|
levlam
|
bd733c1c6e
|
Fix CheckExitGuard test.
|
2021-11-18 17:01:05 +03:00 |
|
levlam
|
67aa9cad66
|
Allocate exactly specified size in ArrayAllocator.
|
2021-11-18 16:42:01 +03:00 |
|
levlam
|
42ca2dcef5
|
Add serialize test.
|
2021-11-18 16:32:12 +03:00 |
|
levlam
|
6f3dc2afb1
|
Use new/delete instead of ArrayAllocator on external threads.
|
2021-11-18 16:22:54 +03:00 |
|
levlam
|
32713560b8
|
Move StackAllocator implementation to cpp.
|
2021-11-18 15:42:07 +03:00 |
|
levlam
|
bf9c78e982
|
Fix is_emoji.
|
2021-11-18 14:37:31 +03:00 |
|
levlam
|
fb39e5d746
|
SImplify StackAllocator::Ptr implementation.
|
2021-11-17 15:15:40 +03:00 |
|
levlam
|
5e70be9d36
|
Improve CHECK.
|
2021-11-13 23:50:18 +03:00 |
|
levlam
|
b731414d42
|
Init some fields just in case.
|
2021-11-11 17:39:09 +03:00 |
|
levlam
|
712197ad6d
|
Mark some constructors as noexcept.
|
2021-11-10 21:55:50 +03:00 |
|
levlam
|
5a02af8c72
|
Use const reference if range-based for if appropriate.
|
2021-11-10 20:39:35 +03:00 |
|
levlam
|
96382d5621
|
Output no_color only if there was a color.
|
2021-11-10 19:06:12 +03:00 |
|
levlam
|
eb346f5573
|
Return both first and last error from mkpath.
|
2021-11-05 10:10:11 +03:00 |
|
levlam
|
ca7947cf44
|
Minor improvements.
|
2021-11-04 12:46:08 +03:00 |
|
levlam
|
6e8a88be35
|
Add TlStorerTotString.store_vector_begin.
|
2021-11-01 19:45:55 +03:00 |
|
levlam
|
f743c782bf
|
Move TlStorerToString to TlStorerToString.h.
|
2021-11-01 19:21:24 +03:00 |
|
levlam
|
5e43075d3b
|
Add TlStorerToString::store_object_field method.
|
2021-11-01 18:59:35 +03:00 |
|
levlam
|
038abf5466
|
Add sound to messageAnimatedEmoji.
|
2021-10-05 23:20:49 +03:00 |
|
levlam
|
ffe03ecb10
|
Add messageAnimatedEmoji.
|
2021-10-05 16:12:04 +03:00 |
|
levlam
|
b5060687cc
|
Add enable_if guards for forwarding constructors.
|
2021-10-29 15:05:28 +03:00 |
|
levlam
|
51cf4baee6
|
Fix tests compilation without threads.
|
2021-10-25 10:37:38 +03:00 |
|
levlam
|
c5a2f1570d
|
Remove superflous endif comments.
|
2021-10-25 10:05:15 +03:00 |
|
levlam
|
f7d073baa4
|
Fix building with TD_EVENTFD_UNSUPPORTED.
|
2021-10-25 01:46:39 +03:00 |
|
levlam
|
9f44816a62
|
Minor improvements.
|
2021-10-21 12:51:16 +03:00 |
|