Show HN: TensorBase: 5x~10000x Faster Drop-In/Accelerator for ClickHouse in Rust Posted by jinmingjian on Wednesday March 17, 2021 @02:51AM from the show-hn dept. https://tensorbase.io/2021/03/16/announce_base_fe.html ( 3 comments | 19 points | on HN )
The query compiled to a loop over natural numbers that was optimized by the compiler:
uint64_t x = 0; for (uint64_t i = 0; i < 1000000000000; ++i) x += i;
print x;
This loop is completely eliminated by compiler optimizations.
But it does not make much sense to run these queries in SQL :)