Skip to content

Conversation

@cachemeifyoucan
Copy link
Collaborator

ActionCache is used to store a mapping from CASID to CASID. The current
implementation of the ActionCache can only be used to associate the
key/value from the same hash context.

ActionCache has two operations: put to store the key/value and get to
lookup the key/value mapping. ActionCache uses the same TrieRawHashMap
data structure to store the mapping, where is CASID of the key is the
hash to index the map.

While CASIDs for key/value are often associcate with actual CAS
ObjectStore, it doesn't provide the guarantee of the existence of such
object in any ObjectStore.

Created using spr 1.3.6

[skip ci]
Created using spr 1.3.6
@cachemeifyoucan cachemeifyoucan changed the base branch from users/cachemeifyoucan/spr/main.cas-add-actioncache-to-llvmcas-library to main August 12, 2025 17:40
@github-actions
Copy link

github-actions bot commented Aug 12, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

Created using spr 1.3.6
@cachemeifyoucan
Copy link
Collaborator Author

This is ready for review. ActionCache API added into LLVMCAS library.

Created using spr 1.3.6
Created using spr 1.3.6
Copy link
Collaborator

@adrian-prantl adrian-prantl left a comment

Choose a reason for hiding this comment

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

LGTM with some minor nitpicking...

Created using spr 1.3.6
@cachemeifyoucan
Copy link
Collaborator Author

Ping. If no more comments, I will merge today.

@cachemeifyoucan cachemeifyoucan merged commit deab049 into main Aug 20, 2025
10 checks passed
@cachemeifyoucan cachemeifyoucan deleted the users/cachemeifyoucan/spr/cas-add-actioncache-to-llvmcas-library branch August 20, 2025 21:42
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.

4 participants