getsentry / symbolicator

Native Symbolication as a Service
https://getsentry.github.io/symbolicator/
MIT License
358 stars 47 forks source link

ref: Differentiate between memory and file cache keys #1487

Closed loewenheim closed 2 months ago

loewenheim commented 3 months ago

This passes two different cache keys (memory_cache_key and file_cache_key) to the compute_memoized method. The intended use case comes from proguard processing: we want to keep proguard files on disk as a whole, but only load segments of them into memory at a time. To this end, we want several in-memory cache keys (those of the individual parts of the proguard file) to correspond to one on-disk cache key (that of the entire file).

loewenheim commented 2 months ago

Superseded by #1491.