GithubHelp home page GithubHelp logo

bplustree's Introduction

bplustree

build status

A STL-compliant B+ tree implementation, portable and header-only, written using C++17.

bplustree meets the following named-requirements: Container, AllocatorAwareContainer, SequenceContainer, ReversibleContainer.

Building

Requirements

A C++17-compliant compiler is required to use this library. Since it is header-only, it can just be downloaded or copy-pated into anyone's project. However, it is recommended to use CMake to build the tests to ensure it behaves sanely. In that case CMake 3.14+ is needed. Also, to build the fuzzy tests, Clang 12+ is mandatory.

Build options

  • BPLUSTREE_ENABLE_TEST — Build the unit tests (default: ON)
  • BPLUSTREE_ENABLE_FUZZ [not implemented] — Build the fuzzy tests (default: OFF, needs BPLUSTREE_ENABLE_TEST=ON)
  • BPLUSTREE_ENABLE_COVERAGE — Build with code coverage analysis (default: OFF, needs BPLUSTREE_ENABLE_TEST=ON)

Build procedure

# Configure the project
cmake -S path-to-bplustree -B bplustree-build -DCMAKE_BUILD_TYPE=Debug
# Build BPlusTree
cmake --build bplustree-build --parallel 4
# Run tests
cmake --build bplustree-build --target test

or alternatively, if you have CMake 3.20+ installed, you can use the provided presets:

# Configure the project
cmake -S path-to-bplustree --preset ninja-debug
# Build BPlusTree
cmake --build --preset ninja-debug --parallel 4
# Run tests
cmake --build --preset ninja-debug --target test

Contributing

If you want to get involved and suggest some additional features, signal a bug or submit a patch, please create a pull request or open an issue on the BPlusTree Github repository.

bplustree's People

Contributors

juliencombattelli avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.