Skip to content

About

An implementation of Resizable Arrays in Optimal Time and Space by Brodnik et al. to reduce copying overhead

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

🏗️ BlockArray

BlockArray is a Swift library for resizable arrays optimized for both time and space. It leverages a multi-block data structure to provide efficient append and pop operations, while minimizing memory overhead. An implementation of Resizable Arrays in Optimal Time and Space by Brodnik et al. to reduce copying overhead.

Features

  • Dynamic Resizable Arrays: BlockArray adapts to the number of elements by dynamically adjusting the size of internal data blocks.
  • Optimal Asymptotic Performance: Implements efficient append and pop operations with a focus on minimizing space wastage and maintaining high performance.
  • Random Access: Provides O(1) access to elements using subscripting.

Acknowledgements

About

An implementation of Resizable Arrays in Optimal Time and Space by Brodnik et al. to reduce copying overhead

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages