hashlink icon indicating copy to clipboard operation
hashlink copied to clipboard

An updated version of linked-hash-map and friends

Results 10 hashlink issues
Sort by recently updated
recently updated
newest added

Callback support lets you know when an mutable operation on an LruCache causes items to be removed from the cache. Right now there's no way to know if you're losing...

This implements an iterator that was starts at a specific key entry, which allows to iterate starting from this entry, instead of starting at the beginning. My motivation for this...

Hello, thank you for this very nice crate! Is there a way to modify an entry's key without changing its position? I use this crate to implement a cache and...

The SwissTable implementation in hashbrown as been merged to std. https://github.com/rust-lang/rust/pull/58623 Should the dependency be kept or should this use the std version?

I'm trying to package hashlink 0.6.0 for debian, and in the course of the standard debian build, I see the following two failures: ``` debian cargo wrapper: running subprocess (['env',...

I was looking at using the LruCache as a queue for items that needed to be cleaned up but might be revived, and thought `LruCache::insert` was returning the removed least...

There is no justifiable reason to force this addition here I think? It's meant purely as something the binary crate can enable if wanted if it makes more sense for...

This is the last PR of the trio of changes I wanted that I've had on my own fork for a little while now. I suspect that inlining attributes have...

Couple of small "maintenance" things: - Update edition to 2021, no issues observed - Use the `dep:crate` syntax to specify the dependency on `serde` by the `serde_impl` feature - Remove...

Would it be possible to add `extract_if()` to LinkedHashMap and LinkedHashSet? https://blog.rust-lang.org/2025/06/26/Rust-1.88.0/#stabilized-apis