RUS  ENG
Full version
JOURNALS // Preprints of the Keldysh Institute of Applied Mathematics // Archive

Keldysh Institute preprints, 2025 072, 21 pp. (Mi ipmp3371)

On the computational efficiency of data types for sequences in storage and processing irregular grids

A. M. Kotelnikov


Abstract: The main properties of data structures for sequences, such as arrays, stacks, queues, and linked lists, are outlined. New types for collections in C++ have been developed using a curious recursive template to avoid code duplication between classes. A performance comparison has been conducted among the data structures from the C++ standard library, the MARPLE code, and proprietary developments.

Keywords: dynamic array, Fenwick tree, curiously recurring template pattern.



© Steklov Math. Inst. of RAS, 2026