nativelink icon indicating copy to clipboard operation
nativelink copied to clipboard

Store trait APIs should use u64 instead of usize

Open allada opened this issue 1 year ago • 1 comments

We currently use usize for the APIs in StoreLike, but they should be u64. It would be nice to move these all to use u64 instead. This is because u64 expresses the size of the data, but usize expresses local memory limits.

This will be a big PR, but mostly cosmetic with some as usize and as u64's and/or usize::try_from() and u64::try_from()'s added and removed.

allada avatar Sep 06 '24 06:09 allada

I will solve this issue.

cc: @allada, @MarcusSorealheis

boldpulse avatar Sep 10 '24 07:09 boldpulse