Skip to content

Commit 5d9fa8f

Browse files
authored
v0.3.0 (#1)
* add Iter API * add Cursor API * refactor Array trait, impl up to 128 elements * impl FromIterator + Extend + From<[T; N]> + Clone + PartialEq + Eq + PartialOrd + Ord + Hash + Debug + Send + Sync for ArrayList * prefer imports from core over std
1 parent a8cfd63 commit 5d9fa8f

7 files changed

Lines changed: 1730 additions & 115 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
authors = ["Davide Di Carlo <daddinuz@gmail.com>"]
33
description = "A dynamic container that combines the characteristics of a Vec and a LinkedList"
44
name = "array_list"
5-
version = "0.2.0"
5+
version = "0.3.0"
66
edition = "2021"
77
license = "MIT"
88
keywords = ["collections", "vec", "xor", "linked-list", "unrolled"]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ or iterations are required.
1111

1212
- **Dynamic:** Combines the benefits of a `Vec` (compact, cache-friendly storage) and a `LinkedList` (efficient insertions and deletions).
1313
- **Reduced pointer overhead:** Implements a **XOR linked list**, requiring only a single pointer per node for bidirectional traversal.
14-
- **Customizable chunk size:** The size of each chunk is determined at compile time via a const generic parameter up to 64 elements.
14+
- **Customizable chunk size:** The size of each chunk is determined at compile time via a const generic parameter up to 128 elements.
1515
- **Efficient memory operations:** Splits and merges nodes dynamically, redistributing elements when necessary.
1616
- **Rich API:** Provides functionality for:
1717
- Insertions, deletions and access at arbitrary positions.
@@ -42,7 +42,7 @@ or edit your Cargo.toml manually by adding:
4242

4343
```toml
4444
[dependencies]
45-
array_list = "0.2"
45+
array_list = "0.3"
4646
```
4747

4848
## Example Usage

0 commit comments

Comments
 (0)