Skip to content

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

License

Notifications You must be signed in to change notification settings

squared-star/block-array-swift

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages