Skip to content

Comments

chore: bump version to 0.1.16#26

Merged
SF-Zhou merged 3 commits intomainfrom
dev
Dec 30, 2025
Merged

chore: bump version to 0.1.16#26
SF-Zhou merged 3 commits intomainfrom
dev

Conversation

@SF-Zhou
Copy link
Owner

@SF-Zhou SF-Zhou commented Dec 30, 2025

No description provided.

Copilot AI review requested due to automatic review settings December 30, 2025 06:26
@codecov
Copy link

codecov bot commented Dec 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (67bf8db) to head (2529ffd).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #26   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          901       902    +1     
=========================================
+ Hits           901       902    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR bumps the version from 0.1.15 to 0.1.16 and includes important improvements to the sharding architecture and documentation. The key change is refactoring ShardsMap to use an instance-level RandomState hasher instead of creating a new FixedState on each shard lookup, which improves hash consistency. Documentation has been significantly enhanced with new caveats about lock poisoning behavior and performance characteristics.

  • Refactored ShardsMap to use an instance-level RandomState hasher for consistent key-to-shard mapping
  • Added comprehensive documentation about lock poisoning, performance considerations, and usage patterns
  • Enhanced README with expanded feature descriptions, caveats, and improved code examples

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Cargo.toml Version bumped from 0.1.15 to 0.1.16
src/shards_map.rs Refactored to store RandomState hasher as instance field and use it in shard() method instead of creating FixedState on each call
src/lockmap.rs Added documentation for inc_ref() method explaining reference count limits, and added performance note to get() method about clone behavior
src/lib.rs Added feature bullet about no lock poisoning on panic
README.md Significantly expanded with new sections on features, caveats (lock poisoning, get() performance), and improved usage examples with more detailed comments

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@SF-Zhou SF-Zhou merged commit 5238377 into main Dec 30, 2025
13 checks passed
@SF-Zhou SF-Zhou deleted the dev branch December 30, 2025 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant