Commit Graph

39 Commits

Author SHA1 Message Date
Pavel Kruglov
400cad4d8b Refactor, fix bugs, improve performance 2021-08-09 17:44:04 +03:00
Nikolai Kochetov
dbaa6ffc62 Rename ContextConstPtr to ContextPtr. 2021-06-01 15:20:52 +03:00
Alexander Kuzmenkov
3f57fc085b remove mutable context references from functions interface
Also remove it from some visitors.
2021-05-28 19:45:37 +03:00
Maksim Kita
d923d9e6ef Function move file 2021-05-17 10:30:42 +03:00
Maksim Kita
947f28d430 IFunction refactoring 2021-05-15 20:33:15 +03:00
Ivan
495c6e03aa
Replace all Context references with std::weak_ptr (#22297)
* Replace all Context references with std::weak_ptr

* Fix shared context captured by value

* Fix build

* Fix Context with named sessions

* Fix copy context

* Fix gcc build

* Merge with master and fix build

* Fix gcc-9 build
2021-04-11 02:33:54 +03:00
Ivan Lezhankin
f897f7c93f Refactor IFunction to execute with const arguments 2020-11-17 16:24:45 +03:00
Nikolai Kochetov
bc58637ec2 Fixing build. 2020-10-19 21:37:44 +03:00
Nikolai Kochetov
740fad66f3 Part 6. 2020-10-18 22:00:13 +03:00
Nikolai Kochetov
959424f28a Rename block to columns. 2020-10-14 17:04:50 +03:00
Nikolai Kochetov
966b1d6cf5 Rename Block to ColumnsWithTypeAndName. 2020-10-14 16:09:11 +03:00
Nikolai Kochetov
3a17c2a7ac Rename FunctionArguments to ColumnsWithTypeAndName 2020-10-11 22:20:20 +03:00
Nikolai Kochetov
d28325a353 Replace getByPosition to [] 2020-10-10 21:24:57 +03:00
Nikolai Kochetov
a7fb2e38a5 Use ColumnWithTypeAndName as function argument instead of Block. 2020-10-09 10:41:28 +03:00
Nikolai Kochetov
e4689ce302 Make IFunction::executeImpl const. 2020-07-21 16:58:07 +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
ef030349ff Add hashes to multitarget code, a lot of cosmetics 2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
991cbf397a Thread safe performance statistics 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
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
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
c524642d24 Delete awful template PerformanceAdaptro and add simple ImplementationSelector instead 2020-05-29 07:35:02 +02:00
Dmitrii Kovalkov
b2b3ba5942 Finaly fix clang build 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
9387981abe Add afwul option for choosing implementation 2020-05-29 07:35:01 +02:00
Dmitrii Kovalkov
234a828dd0 Add option to disable multitarget build 2020-05-29 07:34:11 +02:00
Dmitrii Kovalkov
a4ff8bb933 Get rid of handwritten cpu feature detection 2020-05-29 07:34:11 +02:00
Dmitrii Kovalkov
f59b13a58d Fix style issues 2020-05-29 07:34:10 +02:00
Dmitrii Kovalkov
80ab14e3f9 Get rid of copy-paste in PerformanceAdaptor 2020-05-29 07:33:38 +02:00
Dmitrii Kovalkov
43f5ca868a Cosmetics 2020-05-29 07:33:37 +02:00
Dmitrii Kovalkov
089b3ca008 Check target properly 2020-05-29 07:33:37 +02:00
Dmitrii Kovalkov
0afa672082 make randxorshift great again 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