allegro / allegro/bigcache

feature: Support uint64 keys without converting to string then back again

Aperta
#380 6 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
8.2k
Fork
614
Merge medio
5g 12h
PR unite (30g)
1

Descrizione

Hey folks!

I have a use-case where we already use `xxh3` for hashing various things, including the key for a previous cache's key. We're using `bigcache` now, but it's a bit awkward doing `strconv.FormatUint` and then configuring a dummy `Hasher` to do `strconv.ParseUint`.

Is there a reason this is omitted?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.