I've come to realize I don't have the time to maintain some complex cache implementation, so I'm simplifying it to make it easier to read / maintain. Performance is not negatively affected. This time I'm adding test cases for different scenarios, even deadlock testing, in hope that we can get some more stability.
Description
I've come to realize I don't have the time to maintain some complex cache implementation, so I'm simplifying it to make it easier to read / maintain. Performance is not negatively affected. This time I'm adding test cases for different scenarios, even deadlock testing, in hope that we can get some more stability.
This should also help contributors.
fixes https://github.com/andersfylling/disgord/issues/396
Type of change
Checklist:
go generate
go fmt ./...
)