Skip to content

Commit d521c6f

Browse files
committed
chore: release v0.5.1
1 parent 7d717da commit d521c6f

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
## Changelog
22

3+
### 0.5.1
4+
5+
**Features:**
6+
7+
- **Item Removal:** Added `remove` and `remove_handle` methods to allow deleting items from the interner.
8+
- **Note:** These operations are **O(n)** (linear time) as they require shifting the underlying vector to preserve order.
9+
- **Warning:** Removal **invalidates** existing handles that are greater than the removed index.
10+
- **Handle Recovery:** Added the `repair_handles` helper method.
11+
- This utility iterates over a user-provided collection of handles (e.g., `&mut Vec<H>`) and automatically updates them to account for the index shift caused by a removal operation.
12+
313
### 0.5.0
414

515
**Features:**

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "xgx_intern"
3-
version = "0.5.0"
3+
version = "0.5.1"
44
edition = "2024"
55
description = "A high-performance, Hash-based value interner with custom handle types."
66
keywords = ["interner", "internment", "deduplication", "hashing", "no_std"]

0 commit comments

Comments
 (0)