Skip to content

m-bock/purescript-resize-arrays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purescript-resize-arrays

logo

The resize-arrays library provides an array-like data structure that supports efficient resizing from both ends. Unlike standard arrays, which can be slow when inserting or removing elements from the front, this library ensures that adding and removing items at both the front and back operate in constant time (O(1)).

Folding and mapping operations in this library tend to be slower than those in List or Array. However, their time complexity remains O(n).

CPU Benchmarks

About

Resizable array-like structure with O(1) insert/remove at both ends.

Resources

License

Stars

Watchers

Forks

Packages

No packages published