From e2a53b82c4655ba11b3937f2a1c18da0eb4c76b6 Mon Sep 17 00:00:00 2001 From: Mislav Bradac Date: Thu, 17 Aug 2017 13:29:43 +0200 Subject: [PATCH] Use our version of cppitertools Summary: Our version of cppitertools should improve performance of aggregation benchmarks by ~50%. Reviewers: buda, mferencevic Reviewed By: buda Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D668 --- libs/setup.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libs/setup.sh b/libs/setup.sh index 916a0df74..1e78cbad7 100755 --- a/libs/setup.sh +++ b/libs/setup.sh @@ -15,11 +15,12 @@ git checkout ${antlr4_tag} cd .. # cppitertools -git clone https://github.com/ryanhaining/cppitertools.git +# Use our fork that uses experimental/optional instead of unique_ptr in +# DerefHolder. Once we move memgraph to c++17 we can use cpp17 branch from +# original repo. +git clone https://github.com/memgraph/cppitertools.git cd cppitertools -cppitertools_tag="394cc4debcd037db199551546b6fbc3ea3066722" # master 7 Oct 2016 -# because last release was v0.2 and at the point when -# the lib was added master had 104 commits more than v0.2 +cppitertools_tag="4231e0bc6fba2737b2a7a8a1576cf06186b0de6a" # experimental_optional 17 Aug 2017 git checkout ${cppitertools_tag} cd ..