Skip to content

Add Number and Atomic impls for usize#496

Closed
saethlin wants to merge 1 commit intotikv:masterfrom
redjack:usize
Closed

Add Number and Atomic impls for usize#496
saethlin wants to merge 1 commit intotikv:masterfrom
redjack:usize

Conversation

@saethlin
Copy link

This makes it possible to use AtomicUsize in metrics. Our primary use of metrics is storing the lengths of various things, so nearly everywhere we update metrics we currently have to write a conversion. This lets us delete the conversions.

@saethlin saethlin marked this pull request as ready for review August 25, 2023 15:07
@saethlin saethlin closed this Jan 29, 2025
@saethlin saethlin deleted the usize branch January 29, 2025 05:46
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