mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
Added comment #2770
This commit is contained in:
parent
b396818632
commit
68a4ad0034
@ -1592,6 +1592,11 @@ public:
|
|||||||
* - low number of arithmetic ops due to pre-filled pattern;
|
* - low number of arithmetic ops due to pre-filled pattern;
|
||||||
* - for somewhat reason, function by pointer call is faster than switch/case.
|
* - for somewhat reason, function by pointer call is faster than switch/case.
|
||||||
*
|
*
|
||||||
|
* Possible further optimization options:
|
||||||
|
* - slightly interleave first and second step for better cache locality
|
||||||
|
* (but it have no sense when character array fits L1d cache);
|
||||||
|
* - avoid indirect function calls and inline functions with JIT compilation.
|
||||||
|
*
|
||||||
* Performance on Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz:
|
* Performance on Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz:
|
||||||
*
|
*
|
||||||
* WITH formatDateTime(now() + number, '%H:%M:%S') AS x SELECT count() FROM system.numbers WHERE NOT ignore(x);
|
* WITH formatDateTime(now() + number, '%H:%M:%S') AS x SELECT count() FROM system.numbers WHERE NOT ignore(x);
|
||||||
|
Loading…
Reference in New Issue
Block a user