mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-30 13:17:01 +00:00
49ac04a60ad347bca9610151083d4852452d9530
Because we didn't had before a way to know whether or not the read completed, we would always go back to the main loop, and would only optimize sequential reads for some kinds of data. However, As one could see in the previous patch, the new read_X functions will notify completion, allowing us to just fallthrough to the next case if that is the only possibility. In most cases, it isn't. With this, we can apply this optimization throughout all cases where we don't branch states, and with a very elegant resulting code. The performance actually increases by 0.75 %. It is not much, but it is more than the error margin (which sits at 0.20 %), and because the code is not made unreadable by it, this is a clear win to me. Signed-off-by: Glauber Costa <glommer@cloudius-systems.com>
#Urchin
##Building Urchin
In addition to required packages by Seastar, the following packages are required by Urchin.
Submodules
Urchin uses submodules, so make sure you pull the submodules first by doing:
git submodule init
git submodule update --recursive
Building urchin on Fedora
Installing required packages:
sudo yum install yaml-cpp-devel lz4-devel zlib-devel snappy-devel jsoncpp-devel thrift-devel antlr3-tool antlr3-C++-devel libasan libubsan
Building urchin on Ubuntu 14.04
Installing required packages:
sudo apt-get install libyaml-cpp-dev liblz4-dev zlib1g-dev libsnappy-dev libjsoncpp-dev
Description
Languages
C++
72.6%
Python
26.1%
CMake
0.4%
GAP
0.3%
Shell
0.3%