Commit Graph

23 Commits

Author SHA1 Message Date
Azat Khuzhin
4e76629aaf Fixes for -Wshorten-64-to-32
- lots of static_cast
- add safe_cast
- types adjustments
  - config
  - IStorage::read/watch
  - ...
- some TODO's (to convert types in future)

P.S. That was quite a journey...

v2: fixes after rebase
v3: fix conflicts after #42308 merged
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:19 +02:00
Alexey Milovidov
fe6b7c77c7 Rename "common" to "base" 2021-10-02 10:13:14 +03:00
Alexey Milovidov
8100423b7e Style 2020-06-21 21:47:16 +03:00
Dmitrii Kovalkov
8390fcaa23 Cosmetics 2020-05-29 11:18:39 +02:00
Dmitrii Kovalkov
b0537bf31e Fix clang builds 2020-05-29 07:35:39 +02:00
Dmitrii Kovalkov
4c16f7a70f cosmetics 2020-05-29 07:35:39 +02:00
Dmitrii Kovalkov
991cbf397a Thread safe performance statistics 2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
4a9891c601 use vectorized rand in generateUUIDv4, add multitarget build in intHash32/64 2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
0d1577c5da Better avx2 implementation for rand(). Expected to be ~10% faster 2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
8483dfa272 Delete needless rand implementations 2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
310ca8562c Add auto-vectorization support for binary operations 2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
d4a8d91789 Fix style 2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
feaed1e020 rand isn't avx2-vectorizable, I give it up 2020-05-29 07:35:02 +02:00
Dmitrii Kovalkov
e603158571 Rand implementations 2020-05-29 07:35:02 +02:00
Dmitrii Kovalkov
90bc3e6136 More rand implementations 2020-05-29 07:35:02 +02:00
Dmitrii Kovalkov
66d530e901 fast rand for performance tests 2020-05-29 07:35:02 +02:00
Dmitrii Kovalkov
ea1285328b Fix gcc build, fix PVS error 2020-05-29 07:35:02 +02:00
Dmitrii Kovalkov
bd847514ba better random 2020-05-29 07:35:01 +02:00
Dmitrii Kovalkov
35e4f43ac7 Add alternative implenetation for rand 2020-05-29 07:35:01 +02:00
Dmitrii Kovalkov
43f5ca868a Cosmetics 2020-05-29 07:33:37 +02:00
Dmitrii Kovalkov
808bb14c5c Add xorshift-rand from lemire for comparing performance 2020-05-29 07:33:37 +02:00
Dmitrii Kovalkov
acbd3b3a70 Compile rand function with AVX 2020-05-29 07:31:59 +02:00
Ivan Lezhankin
06446b4f08 dbms/ → src/ 2020-04-03 18:14:31 +03:00