merge(3p/immer): Subtree merge at 'ad3e3556d' as 'third_party/immer'
Change-Id: I9636a41ad44b4218293833fd3e9456d9b07c731b
This commit is contained in:
commit
1213b086a1
311 changed files with 74223 additions and 0 deletions
20
third_party/immer/benchmark/vector/branching/access.ipp
vendored
Normal file
20
third_party/immer/benchmark/vector/branching/access.ipp
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
//
|
||||
// immer: immutable data structures for C++
|
||||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||||
//
|
||||
// This software is distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#include "benchmark/vector/access.hpp"
|
||||
#include <immer/flex_vector.hpp>
|
||||
|
||||
#ifndef MEMORY_T
|
||||
#error "define the MEMORY_T"
|
||||
#endif
|
||||
|
||||
NONIUS_BENCHMARK("flex/3", benchmark_access_idx<immer::flex_vector<std::size_t,MEMORY_T,3>>())
|
||||
NONIUS_BENCHMARK("flex/4", benchmark_access_idx<immer::flex_vector<std::size_t,MEMORY_T,4>>())
|
||||
NONIUS_BENCHMARK("flex/5", benchmark_access_idx<immer::flex_vector<std::size_t,MEMORY_T,5>>())
|
||||
NONIUS_BENCHMARK("flex/6", benchmark_access_idx<immer::flex_vector<std::size_t,MEMORY_T,6>>())
|
||||
NONIUS_BENCHMARK("flex/7", benchmark_access_idx<immer::flex_vector<std::size_t,MEMORY_T,7>>())
|
||||
20
third_party/immer/benchmark/vector/branching/assoc.ipp
vendored
Normal file
20
third_party/immer/benchmark/vector/branching/assoc.ipp
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
//
|
||||
// immer: immutable data structures for C++
|
||||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||||
//
|
||||
// This software is distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#include "benchmark/vector/assoc.hpp"
|
||||
#include <immer/flex_vector.hpp>
|
||||
|
||||
#ifndef MEMORY_T
|
||||
#error "define the MEMORY_T"
|
||||
#endif
|
||||
|
||||
NONIUS_BENCHMARK("flex/3", benchmark_assoc<immer::flex_vector<std::size_t,MEMORY_T,3>>())
|
||||
NONIUS_BENCHMARK("flex/4", benchmark_assoc<immer::flex_vector<std::size_t,MEMORY_T,4>>())
|
||||
NONIUS_BENCHMARK("flex/5", benchmark_assoc<immer::flex_vector<std::size_t,MEMORY_T,5>>())
|
||||
NONIUS_BENCHMARK("flex/6", benchmark_assoc<immer::flex_vector<std::size_t,MEMORY_T,6>>())
|
||||
NONIUS_BENCHMARK("flex/7", benchmark_assoc<immer::flex_vector<std::size_t,MEMORY_T,7>>())
|
||||
10
third_party/immer/benchmark/vector/branching/basic/access.cpp
vendored
Normal file
10
third_party/immer/benchmark/vector/branching/basic/access.cpp
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//
|
||||
// immer: immutable data structures for C++
|
||||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||||
//
|
||||
// This software is distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#define MEMORY_T basic_memory
|
||||
#include "../access.ipp"
|
||||
10
third_party/immer/benchmark/vector/branching/basic/assoc.cpp
vendored
Normal file
10
third_party/immer/benchmark/vector/branching/basic/assoc.cpp
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//
|
||||
// immer: immutable data structures for C++
|
||||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||||
//
|
||||
// This software is distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#define MEMORY_T basic_memory
|
||||
#include "../assoc.ipp"
|
||||
10
third_party/immer/benchmark/vector/branching/basic/concat.cpp
vendored
Normal file
10
third_party/immer/benchmark/vector/branching/basic/concat.cpp
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//
|
||||
// immer: immutable data structures for C++
|
||||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||||
//
|
||||
// This software is distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#define MEMORY_T basic_memory
|
||||
#include "../concat.ipp"
|
||||
10
third_party/immer/benchmark/vector/branching/basic/push.cpp
vendored
Normal file
10
third_party/immer/benchmark/vector/branching/basic/push.cpp
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//
|
||||
// immer: immutable data structures for C++
|
||||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||||
//
|
||||
// This software is distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#define MEMORY_T basic_memory
|
||||
#include "../push.ipp"
|
||||
20
third_party/immer/benchmark/vector/branching/concat.ipp
vendored
Normal file
20
third_party/immer/benchmark/vector/branching/concat.ipp
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
//
|
||||
// immer: immutable data structures for C++
|
||||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||||
//
|
||||
// This software is distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#include "benchmark/vector/concat.hpp"
|
||||
#include <immer/flex_vector.hpp>
|
||||
|
||||
#ifndef MEMORY_T
|
||||
#error "define the MEMORY_T"
|
||||
#endif
|
||||
|
||||
NONIUS_BENCHMARK("flex/3", benchmark_concat<immer::flex_vector<std::size_t,MEMORY_T,3>>())
|
||||
NONIUS_BENCHMARK("flex/4", benchmark_concat<immer::flex_vector<std::size_t,MEMORY_T,4>>())
|
||||
NONIUS_BENCHMARK("flex/5", benchmark_concat<immer::flex_vector<std::size_t,MEMORY_T,5>>())
|
||||
NONIUS_BENCHMARK("flex/6", benchmark_concat<immer::flex_vector<std::size_t,MEMORY_T,6>>())
|
||||
NONIUS_BENCHMARK("flex/7", benchmark_concat<immer::flex_vector<std::size_t,MEMORY_T,7>>())
|
||||
10
third_party/immer/benchmark/vector/branching/gc/access.cpp
vendored
Normal file
10
third_party/immer/benchmark/vector/branching/gc/access.cpp
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//
|
||||
// immer: immutable data structures for C++
|
||||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||||
//
|
||||
// This software is distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#define MEMORY_T gc_memory
|
||||
#include "../access.ipp"
|
||||
10
third_party/immer/benchmark/vector/branching/gc/assoc.cpp
vendored
Normal file
10
third_party/immer/benchmark/vector/branching/gc/assoc.cpp
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//
|
||||
// immer: immutable data structures for C++
|
||||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||||
//
|
||||
// This software is distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#define MEMORY_T gc_memory
|
||||
#include "../assoc.ipp"
|
||||
10
third_party/immer/benchmark/vector/branching/gc/concat.cpp
vendored
Normal file
10
third_party/immer/benchmark/vector/branching/gc/concat.cpp
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//
|
||||
// immer: immutable data structures for C++
|
||||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||||
//
|
||||
// This software is distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#define MEMORY_T gc_memory
|
||||
#include "../concat.ipp"
|
||||
10
third_party/immer/benchmark/vector/branching/gc/push.cpp
vendored
Normal file
10
third_party/immer/benchmark/vector/branching/gc/push.cpp
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//
|
||||
// immer: immutable data structures for C++
|
||||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||||
//
|
||||
// This software is distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#define MEMORY_T gc_memory
|
||||
#include "../push.ipp"
|
||||
20
third_party/immer/benchmark/vector/branching/push.ipp
vendored
Normal file
20
third_party/immer/benchmark/vector/branching/push.ipp
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
//
|
||||
// immer: immutable data structures for C++
|
||||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||||
//
|
||||
// This software is distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#include "benchmark/vector/push.hpp"
|
||||
#include <immer/flex_vector.hpp>
|
||||
|
||||
#ifndef MEMORY_T
|
||||
#error "define the MEMORY_T"
|
||||
#endif
|
||||
|
||||
NONIUS_BENCHMARK("flex/3", benchmark_push<immer::flex_vector<std::size_t,MEMORY_T,3>>())
|
||||
NONIUS_BENCHMARK("flex/4", benchmark_push<immer::flex_vector<std::size_t,MEMORY_T,4>>())
|
||||
NONIUS_BENCHMARK("flex/5", benchmark_push<immer::flex_vector<std::size_t,MEMORY_T,5>>())
|
||||
NONIUS_BENCHMARK("flex/6", benchmark_push<immer::flex_vector<std::size_t,MEMORY_T,6>>())
|
||||
NONIUS_BENCHMARK("flex/7", benchmark_push<immer::flex_vector<std::size_t,MEMORY_T,7>>())
|
||||
10
third_party/immer/benchmark/vector/branching/safe/access.cpp
vendored
Normal file
10
third_party/immer/benchmark/vector/branching/safe/access.cpp
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//
|
||||
// immer: immutable data structures for C++
|
||||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||||
//
|
||||
// This software is distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#define MEMORY_T safe_memory
|
||||
#include "../access.ipp"
|
||||
10
third_party/immer/benchmark/vector/branching/safe/assoc.cpp
vendored
Normal file
10
third_party/immer/benchmark/vector/branching/safe/assoc.cpp
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//
|
||||
// immer: immutable data structures for C++
|
||||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||||
//
|
||||
// This software is distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#define MEMORY_T safe_memory
|
||||
#include "../assoc.ipp"
|
||||
10
third_party/immer/benchmark/vector/branching/safe/concat.cpp
vendored
Normal file
10
third_party/immer/benchmark/vector/branching/safe/concat.cpp
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//
|
||||
// immer: immutable data structures for C++
|
||||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||||
//
|
||||
// This software is distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#define MEMORY_T safe_memory
|
||||
#include "../concat.ipp"
|
||||
10
third_party/immer/benchmark/vector/branching/safe/push.cpp
vendored
Normal file
10
third_party/immer/benchmark/vector/branching/safe/push.cpp
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//
|
||||
// immer: immutable data structures for C++
|
||||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||||
//
|
||||
// This software is distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#define MEMORY_T safe_memory
|
||||
#include "../push.ipp"
|
||||
10
third_party/immer/benchmark/vector/branching/unsafe/access.cpp
vendored
Normal file
10
third_party/immer/benchmark/vector/branching/unsafe/access.cpp
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//
|
||||
// immer: immutable data structures for C++
|
||||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||||
//
|
||||
// This software is distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#define MEMORY_T unsafe_memory
|
||||
#include "../access.ipp"
|
||||
10
third_party/immer/benchmark/vector/branching/unsafe/assoc.cpp
vendored
Normal file
10
third_party/immer/benchmark/vector/branching/unsafe/assoc.cpp
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//
|
||||
// immer: immutable data structures for C++
|
||||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||||
//
|
||||
// This software is distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#define MEMORY_T unsafe_memory
|
||||
#include "../assoc.ipp"
|
||||
10
third_party/immer/benchmark/vector/branching/unsafe/concat.cpp
vendored
Normal file
10
third_party/immer/benchmark/vector/branching/unsafe/concat.cpp
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//
|
||||
// immer: immutable data structures for C++
|
||||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||||
//
|
||||
// This software is distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#define MEMORY_T unsafe_memory
|
||||
#include "../concat.ipp"
|
||||
10
third_party/immer/benchmark/vector/branching/unsafe/push.cpp
vendored
Normal file
10
third_party/immer/benchmark/vector/branching/unsafe/push.cpp
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//
|
||||
// immer: immutable data structures for C++
|
||||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente
|
||||
//
|
||||
// This software is distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#define MEMORY_T unsafe_memory
|
||||
#include "../push.ipp"
|
||||
Loading…
Add table
Add a link
Reference in a new issue