Cache-Oblivious Representation of B-Tree Structures

09/19/2022
by   Lukáš Ondráček, et al.
0

We present a data structure CORoBTS for storing a search tree with all leaves at the same depth and vertices of arity between chosen constants a and b in a cache-oblivious way. It provides operations for inserting an a-ary subtree and removing a subtree; both have an amortized I/O complexity 𝒪(S·(log^2 N)/ B + log_B N ·loglog S + 1) and amortized time complexity 𝒪(S·log^2 N), where S is the size of the subtree and N size of the whole stored tree. The tree allows searching with an optimal I/O complexity 𝒪(log_BN) and is stored in a linear space. We use the data structure as a top space-time tree in the cache-oblivious partially persistent array proposed by Davoodi et al. [DFIÖ14]. The space complexity of the persistent array is then improved from 𝒪(U^log_2 3 + V log U) to 𝒪(U + V log U), where U is the maximal size of the array and V is the number of versions. The data locality and I/O complexity of both present and persistent reads are kept unchanged; I/O complexity of writes is worsened by a polylogarithmic factor.

READ FULL TEXT
research
11/20/2022

Optimal resizable arrays

A resizable array is an array that can grow and shrink by the addition o...
research
06/09/2023

Space-time Trade-offs for the LCP Array of Wheeler DFAs

Recently, Conte et al. generalized the longest-common prefix (LCP) array...
research
11/05/2019

An Efficient Word Lookup System by using Improved Trie Algorithm

Efficiently word storing and searching is an important task in computer ...
research
02/21/2020

Chronofold: a data structure for versioned text

Collaborative text editing and versioning is known to be a tough topic. ...
research
12/13/2018

Optimal Algorithm for Profiling Dynamic Arrays with Finite Values

How can one quickly answer the most and top popular objects at any time,...
research
06/01/2021

Boosting the Search Performance of B+-tree for Non-volatile Memory with Sentinels

The next-generation non-volatile memory (NVM) is striding into computer ...
research
05/24/2018

Longest Unbordered Factor in Quasilinear Time

A border u of a word w is a proper factor of w occurring both as a prefi...

Please sign up or login with your details

Forgot password? Click here to reset