Open
Description
Hello!
Could you please provide information on the memory overhead per stored item when using LRU in Go?
Additionally, I have a use case where the key is a [32]byte and the value is a pointer to a struct. Which of the following approaches would be faster:
1. Using go-freelru to store the key and a pointer to the struct.
2. Using go-freelru to store the key and an index (e.g., uint64) which references a separate map holding all values.
Thank you!
Metadata
Assignees
Labels
No labels
Activity