ZiggyCreatures / FusionCache

FusionCache is an easy to use, fast and robust hybrid cache with advanced resiliency features.
MIT License
1.87k stars 96 forks source link

.NET 9.0 performance improvements #287

Closed MarkCiliaVincenti closed 3 months ago

jodydonetti commented 3 months ago

Hi @MarkCiliaVincenti , thanks for the PR.

The usage of lock is very very limited, basically a couple of one-off operations, meaning they'll happen at most once per application lifetime and not for every call or similar. Since there will not be any noticeable improvement, and considering I would need to add an extra hard dependency (which in general is something I'd like to avoid as much as possible) I prefer not to proceed with this.

MarkCiliaVincenti commented 3 months ago

Understood, makes sense!