Partial Sums on the Ultra-Wide Word RAM

08/27/2019
by   Philip Bille, et al.
0

We consider the classic partial sums problem on the ultra-wide word RAM model of computation. This model extends the classic w-bit word RAM model with special ultrawords of length w^2 bits that support standard arithmetic and boolean operation and scattered memory access operations that can access w (non-contiguous) locations in memory. The ultra-wide word RAM model captures (and idealizes) modern vector processor architectures. Our main result is a new in-place data structure for the partial sum problem that only stores a constant number of ultraword in addition to the input and supports operations in doubly logarithmic time. This matches the best known time bounds for the problem (among polynomial space data structures) while improving the space from superlinear to a constant number of ultrawords. Our results are based on a simple and elegant in-place word RAM data structure, known as the Fenwick tree. Our main technical contribution is a new efficient parallel ultra-wide word RAM implementation of the Fenwick tree, which is likely of independent interest.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/27/2022

Predecessor on the Ultra-Wide Word RAM

We consider the predecessor problem on the ultra-wide word RAM model of ...
research
11/02/2017

An Optimal Choice Dictionary

A choice dictionary is a data structure that can be initialized with a p...
research
04/17/2022

An n H_k-compressed searchable partial-sums data structure for static sequences of sublogarithmic positive integers

We consider the space needed to store a searchable partial-sums data str...
research
11/05/2018

Optimal Succinct Rank Data Structure via Approximate Nonnegative Tensor Decomposition

Given an n-bit array A, the succinct rank data structure problem asks to...
research
06/24/2022

Learning Augmented Binary Search Trees

A treap is a classic randomized binary search tree data structure that i...
research
01/17/2022

A Tree Clock Data Structure for Causal Orderings in Concurrent Executions

Dynamic techniques are a scalable and effective way to analyze concurren...
research
04/28/2019

Compact Fenwick trees for dynamic ranking and selection

The Fenwick tree is a classical implicit data structure that stores an a...

Please sign up or login with your details

Forgot password? Click here to reset