mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-06 13:57:54 +00:00
Port some things, still does not compile
This commit is contained in:
parent
f56c3e819f
commit
23cf06df4c
18 changed files with 543 additions and 538 deletions
|
|
@ -7,6 +7,7 @@ namespace PluralKit.Bot
|
|||
// not particularly efficient? It allocates a dictionary *and* a queue for every single channel (500k in prod!)
|
||||
// whereas this is, worst case, one dictionary *entry* of a single ulong per channel, and one dictionary instance
|
||||
// on the whole instance, total. Yeah, much more efficient.
|
||||
// TODO: is this still needed after the D#+ migration?
|
||||
public class LastMessageCacheService
|
||||
{
|
||||
private IDictionary<ulong, ulong> _cache = new ConcurrentDictionary<ulong, ulong>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue