zio-cache
zio-cache copied to clipboard
Added `invalidationEvents` method to publish cache invalidation events.
Resolves #44
A few notes:
- Recommend using the Split (side-by-side) view to review changes. Most lines are caused by indentation. Git diff is really bad at this kind of change.
- It's a draft because the performance of
ChurnBenchmark
has degraded by about 20%. It was worse in the beginning :) I have found usingZIO.when
operator can degrade the performance on a hot path. I'm using regularif
for now. (Might want to replace thewhen
operator withif
elsewhere too.)
A few notes:
1. Recommend using the Split (side-by-side) view to review changes. Most lines are caused by indentation. Git diff is really bad at this kind of change.
Did you try "Hide whitespace" feature in github? It help a lot